Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/treesum.py @ 153:3505406ef9f3
Comment
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 04 Jan 2025 15:41:00 +0100 |
| parents | 46cb438fa520 |
| children | bf74ce3c968d |
comparison
equal
deleted
inserted
replaced
| 152:46cb438fa520 | 153:3505406ef9f3 |
|---|---|
| 101 description="Generate and verify checksums for directory trees.", | 101 description="Generate and verify checksums for directory trees.", |
| 102 fromfile_prefix_chars='@', | 102 fromfile_prefix_chars='@', |
| 103 add_help=False) | 103 add_help=False) |
| 104 | 104 |
| 105 # | 105 # |
| 106 # Global options for all sub-commands | 106 # Global options for all sub-commands. |
| 107 # In a group because this allows a customized title. | |
| 107 # | 108 # |
| 108 gparser = parser.add_argument_group(title="Global Options") | 109 gparser = parser.add_argument_group(title="Global Options") |
| 109 gparser.add_argument( | 110 gparser.add_argument( |
| 110 "-v", "--version", action="version", | 111 "-v", "--version", action="version", |
| 111 version="%s (rv:%s)" % (__version__, __revision__), | 112 version="%s (rv:%s)" % (__version__, __revision__), |
