aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2015-06-02 21:40:04 +0200
committerAdam Spiers <git@adamspiers.org>2015-06-02 21:34:04 +0100
commitb293e996d2db37a8f71084d74931bb2309c78c7b (patch)
tree4f0b2e050ff97c0939cd116ffd4a80a45429067e
parentbfcfc1663a7cb4eb8110b4fc39a150724f4b22ba (diff)
downloadgit-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-xgit-deps2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-deps b/git-deps
index b814e88..ed02be0 100755
--- a/git-deps
+++ b/git-deps
@@ -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')