Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/genpwd.py @ 247:435687f4e071
genpwd: FIX: Help message for the default
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 08 Feb 2025 11:44:58 +0100 |
| parents | c29266444003 |
| children | 4796e5da04ee |
comparison
equal
deleted
inserted
replaced
| 246:c29266444003 | 247:435687f4e071 |
|---|---|
| 88 default="safe-ascii", | 88 default="safe-ascii", |
| 89 help=""" | 89 help=""" |
| 90 Select from a character repertoire. | 90 Select from a character repertoire. |
| 91 All repertoires that start with "bin-" just encode the output of | 91 All repertoires that start with "bin-" just encode the output of |
| 92 "os.urandom()" with the selected encoder. | 92 "os.urandom()" with the selected encoder. |
| 93 Default: web-safe2 | 93 Default: safe-ascii |
| 94 """) | 94 """) |
| 95 aparser.add_argument( | 95 aparser.add_argument( |
| 96 "req_length", metavar="OUTPUT-LENGTH", type=int, | 96 "req_length", metavar="OUTPUT-LENGTH", type=int, |
| 97 help="The required length of the generated output") | 97 help="The required length of the generated output") |
| 98 | 98 |
