Mercurial > hgrepos > Python > apps > py-cutils
changeset 253:4314ee20927a
genpwd: more consistency with regard to help messages
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 08 Feb 2025 15:09:32 +0100 |
| parents | 0a2a162c5ad7 |
| children | 655f9e4bc6f2 |
| files | cutils/genpwd.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cutils/genpwd.py Sat Feb 08 13:42:16 2025 +0100 +++ b/cutils/genpwd.py Sat Feb 08 15:09:32 2025 +0100 @@ -66,7 +66,7 @@ " length within a selected character repertoire", fromfile_prefix_chars='@') aparser.add_argument( - "--version", "-v", action="version", + "-v", "--version", action="version", version="%s (rv:%s)" % (__version__, __revision__)) group = aparser.add_mutually_exclusive_group() group.add_argument(
