Mercurial > hgrepos > Python > apps > py-cutils
comparison genpwd.py @ 231:6d8443878a00
Use argparse in genpwd.py now.
As side effect there is now a help and version flag.
And the help message are slightly better.
Also added a genpwd.py driver program.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 07 Feb 2025 13:30:33 +0100 |
| parents | |
| children | 48430941c18c |
comparison
equal
deleted
inserted
replaced
| 230:ccbb6905914e | 231:6d8443878a00 |
|---|---|
| 1 # -*- coding: utf-8 -*- | |
| 2 # :- | |
| 3 # :Copyright: (c) 2025 Franz Glasner | |
| 4 # :License: BSD-3-Clause | |
| 5 # :- | |
| 6 r"""Pure Python implementation of a directory tree checksum. | |
| 7 | |
| 8 """ | |
| 9 | |
| 10 from __future__ import absolute_import | |
| 11 | |
| 12 import sys | |
| 13 | |
| 14 import cutils.genpwd | |
| 15 | |
| 16 | |
| 17 sys.exit(cutils.genpwd.main()) |
