comparison cutils/genpwd.py @ 236:939a8da6bc92

genpwd: change the current "-e" option to "-E"
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 07 Feb 2025 19:41:15 +0100
parents 11819361ea39
children d65a4d861dad
comparison
equal deleted inserted replaced
235:11819361ea39 236:939a8da6bc92
42 fromfile_prefix_chars='@') 42 fromfile_prefix_chars='@')
43 aparser.add_argument( 43 aparser.add_argument(
44 "--version", "-v", action="version", 44 "--version", "-v", action="version",
45 version="%s (rv:%s)" % (__version__, __revision__)) 45 version="%s (rv:%s)" % (__version__, __revision__))
46 aparser.add_argument( 46 aparser.add_argument(
47 "-e", dest="use_bin_length", action="store_true", 47 "-E", dest="use_bin_length", action="store_true",
48 help="For some repertoires make OUTPUT-LENGTH the number of bytes" 48 help="For some repertoires make OUTPUT-LENGTH the number of bytes"
49 " that is to be read from random sources instead of output bytes") 49 " that is to be read from random sources instead of output bytes")
50 aparser.add_argument( 50 aparser.add_argument(
51 "--repertoire", "--type", "-t", 51 "--repertoire", "--type", "-t",
52 choices=("web", "web-safe", "web-safe2", 52 choices=("web", "web-safe", "web-safe2",