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

Use version option in main().

parent 20723cca
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,9 @@ def main(args=None):
if args is None:
args = sys.argv[1:]
options = handle_options(args)
if options.version:
print_version()
sys.exit(0)
print(get_passphrase(
wordnum=options.num,
specialsnum=options.specials,
......
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