DOKK / manpages / debian 11 / dictionaries-common / select-default-wordlist.8.en
SELECT-DEFAULT-WORDLIST(8) SELECT-DEFAULT-WORDLIST(8)

    select-default-wordlist - select default wordlist

 select-default-wordlist [options]
  Options (all long only options):
    --set-default='regexp' Try 'regexp' to get a single match and set
                           it as default. Fail otherwise.
    --show-choices         Show available choices to STDERR and exit.
    --debug                Enable debug mode

This program is responsible for selecting default wordlist.

If --show-choices is used will just output a list of available choices to STDERR and exit. STDOUT cannot be used, this program loads debconf and debconf captures STDOUT.

If --set-default is used, program will try to get a single regexp match from available choices, failing if not. Will try case dependent match first, then case independent.

If --set-default is not used this program will make debconf always ask the shared question about the default wordlist to be used in your system according to the installed ones.

In both cases, will do the appropriate settings if needed.

Calls internally update-default-wordlist.

The dictionaries-common policy document

Rafael Laboissiere, Agustin Martin

2021-2-22 1.28.4