# HG changeset patch # User Franz Glasner # Date 1739004454 -3600 # Node ID ae9bc3006efc49cbbb5fd315ca8d2333a82ef027 # Parent d4501acb0a7cacb23e4b73fe8cc28cef1eab33e2 Enhanced help message: describe the "bin-" prefix diff -r d4501acb0a7c -r ae9bc3006efc cutils/genpwd.py --- a/cutils/genpwd.py Sat Feb 08 09:41:44 2025 +0100 +++ b/cutils/genpwd.py Sat Feb 08 09:47:34 2025 +0100 @@ -54,7 +54,12 @@ "bin-base64", "bin-urlsafe-base64", "bin-base32", "bin-ascii85", "bin-hex", ), default="web-safe2", - help="Select the character repertoire. Default: web-safe2") + help=""" +Select from a character repertoire. +All repertoires that start with "bin-" just encode the output of +"os.urandom()" with the selected encoder. +Default: web-safe2 +""") aparser.add_argument( "req_length", metavar="OUTPUT-LENGTH", type=int, help="The required length of the generated output")