aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2013-11-16 20:29:59 -0500
committerAdam Spiers <git@adamspiers.org>2015-01-05 16:57:08 +0000
commit1b66efa173a19a8b4c0c47274a1b9cdd8b9912af (patch)
tree1716f4c0ed135e79246855ac473d2edddf085d57
parent4f27a1ee2b5fd63a58311a20e2aed0a24eda8da2 (diff)
downloadgit-deps-1b66efa173a19a8b4c0c47274a1b9cdd8b9912af.tar.gz
improve help text
-rwxr-xr-xgit-deps13
1 files changed, 7 insertions, 6 deletions
diff --git a/git-deps b/git-deps
index 81f75c9..abdf4b8 100755
--- a/git-deps
+++ b/git-deps
@@ -337,21 +337,22 @@ class DependencyDetector(object):
def parse_args():
parser = argparse.ArgumentParser(
- description='Auto-detect inter-commit dependencies.',
+ description='Auto-detects commits which the given commit(s) depend on.',
usage='%(prog)s [options] COMMIT-ISH [COMMIT-ISH...]'
)
parser.add_argument('-l', '--log', dest='log', action='store_true',
- help='Show commit logs for calculated dependencies')
+ help='Show commit logs for calculated dependencies [%(default)s]')
parser.add_argument('-r', '--recurse', dest='recurse', action='store_true',
- help='Follow dependencies recursively')
+ help='Follow dependencies recursively [%(default)s]')
parser.add_argument('-e', '--exclude-commits', dest='exclude_commits',
action='append', metavar='COMMITISH',
- help='Exclude commits which are ancestors of the given COMMITISH')
+ help='Exclude commits which are ancestors of the given COMMITISH'
+ ' (can be repeated)')
parser.add_argument('-c', '--context-lines', dest='context_lines', type=int,
metavar='NUM', default=1,
- help='Number of lines of diff context to use')
+ help='Number of lines of diff context to use [%(default)s]')
parser.add_argument('-d', '--debug', dest='debug', action='store_true',
- help='Show debugging')
+ help='Show debugging [%(default)s]')
options, args = parser.parse_known_args()