Mercurial > hgrepos > Python > apps > py-cutils
comparison shasum.py @ 17:184ab1da1307
Extend help messages
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 04 Dec 2020 23:06:48 +0100 |
| parents | 409dac636805 |
| children | 285848db0b52 |
comparison
equal
deleted
inserted
replaced
| 16:16958e1347b5 | 17:184ab1da1307 |
|---|---|
| 38 aparser.add_argument( | 38 aparser.add_argument( |
| 39 "--binary", "-b", action="store_false", dest="text_mode", default=False, | 39 "--binary", "-b", action="store_false", dest="text_mode", default=False, |
| 40 help="read in binary mode (default)") | 40 help="read in binary mode (default)") |
| 41 aparser.add_argument( | 41 aparser.add_argument( |
| 42 "--bsd", "-B", action="store_true", dest="bsd", default=False, | 42 "--bsd", "-B", action="store_true", dest="bsd", default=False, |
| 43 help="write BSD style output; also :command:`openssl dgst` style") | 43 help="Write BSD style output. This is also the default output format of :command:`openssl dgst`.") |
| 44 aparser.add_argument( | 44 aparser.add_argument( |
| 45 "--check", "-c", action="store_true", | 45 "--check", "-c", action="store_true", |
| 46 help="read digests from FILEs and check them") | 46 help="""Read digests from FILEs and check them. |
| 47 If this option is specified, the FILE options become checklists. Each | |
| 48 checklist should contain hash results in a supported format, which will | |
| 49 be verified against the specified paths. Output consists of the digest | |
| 50 used, the file name, and an OK, FAILED, or MISSING for the result of | |
| 51 the comparison. This will validate any of the supported checksums. | |
| 52 If no file is given, stdin is used.""") | |
| 47 aparser.add_argument( | 53 aparser.add_argument( |
| 48 "--reverse", "-r", action="store_false", dest="bsd", default=False, | 54 "--reverse", "-r", action="store_false", dest="bsd", default=False, |
| 49 help="explicitely select normal coreutils style output (to be option compatible with BSD style commands and :command:`openssl dgst -r`)") | 55 help="explicitely select normal coreutils style output (to be option compatible with BSD style commands and :command:`openssl dgst -r`)") |
| 50 aparser.add_argument( | 56 aparser.add_argument( |
| 51 "--tag", action="store_true", dest="bsd", default=False, | 57 "--tag", action="store_true", dest="bsd", default=False, |
