diff options
author | Adam Spiers <git@adamspiers.org> | 2013-11-15 21:04:49 -0500 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-01-05 16:57:08 +0000 |
commit | 2ebcb2b6081e32e9a463519525bd432287b24520 (patch) | |
tree | 013fcd7671d206898ff9e8c1eddb9b638ad3616b | |
parent | 5ec5ccbdff508014c61ae9d18f3366a15c0f2689 (diff) | |
download | git-deps-2ebcb2b6081e32e9a463519525bd432287b24520.tar.gz |
improve --help for --context-lines
-rwxr-xr-x | git-deps | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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') |