diff options
author | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2015-06-02 21:40:04 +0200 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-06-02 21:34:04 +0100 |
commit | b293e996d2db37a8f71084d74931bb2309c78c7b (patch) | |
tree | 4f0b2e050ff97c0939cd116ffd4a80a45429067e | |
parent | bfcfc1663a7cb4eb8110b4fc39a150724f4b22ba (diff) | |
download | git-deps-b293e996d2db37a8f71084d74931bb2309c78c7b.tar.gz |
add --help option
This only affects invocation of git-deps directly, not via the git(1)
wrapper, since the latter will still issue the error:
No manual entry for git-deps
Signed-off-by: Adam Spiers <git@adamspiers.org>
-rwxr-xr-x | git-deps | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -609,7 +609,7 @@ def parse_args(): usage='%(prog)s [options] COMMIT-ISH [COMMIT-ISH...]', add_help=False ) - parser.add_argument('-h', action='help', + parser.add_argument('-h', '--help', action='help', help='Show this help message and exit') parser.add_argument('-l', '--log', dest='log', action='store_true', help='Show commit logs for calculated dependencies') |