Skip to content
Snippets Groups Projects
Commit b0c83fa7 authored by ulif's avatar ulif
Browse files

Add `--verbose` option for commandline.

parent 03dea16e
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,9 @@ def handle_options(args):
type=argparse.FileType('r'),
help="Input wordlist. `-' will read from stdin.",
)
parser.add_argument(
'-v', '--verbose', action='count',
help='Be verbose. Use several times for increased verbosity.')
parser.add_argument(
'--version', action='store_true',
help='output version information and exit.',
......
usage: diceware [-h] [-n NUM] [-c | --no-caps] [-s NUM] [-d DELIMITER]
[-r SOURCE] [-w NAME] [--version]
[-r SOURCE] [-w NAME] [-v] [--version]
[INFILE]
Create a passphrase
......@@ -23,6 +23,7 @@ optional arguments:
Use words from this wordlist. Possible values: `en',
`en_orig', `en_securedrop'. Wordlists are stored in
the folder displayed below. Default: en_securedrop
-v, --verbose Be verbose. Use several times for increased verbosity.
--version output version information and exit.
Wordlists are stored in <WORDLISTS-DIR>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment