aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2013-11-15 21:04:49 -0500
committerAdam Spiers <git@adamspiers.org>2015-01-05 16:57:08 +0000
commit2ebcb2b6081e32e9a463519525bd432287b24520 (patch)
tree013fcd7671d206898ff9e8c1eddb9b638ad3616b
parent5ec5ccbdff508014c61ae9d18f3366a15c0f2689 (diff)
downloadgit-deps-2ebcb2b6081e32e9a463519525bd432287b24520.tar.gz
improve --help for --context-lines
-rwxr-xr-xgit-deps3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-deps b/git-deps
index 5e53bc9..504a0b1 100755
--- a/git-deps
+++ b/git-deps
@@ -308,7 +308,8 @@ def parse_args():
parser.add_argument('--log', '-l', dest='log', action='store_true',
help='Show commit logs for calculated dependencies')
parser.add_argument('--context-lines', '-c', dest='context_lines', type=int,
- default=1, help='Number of lines of diff context to use')
+ metavar='NUM', default=1,
+ help='Number of lines of diff context to use')
parser.add_argument('--debug', '-d', dest='debug', action='store_true',
help='Show debugging')