summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Kuivinen <freku045@student.liu.se>2005-12-15 23:48:38 +0100
committerJunio C Hamano <junkio@cox.net>2005-12-15 16:02:25 -0800
commit1403959cc804131a91f15117c7afd6822d0fad90 (patch)
tree2309bd023941eabb3553ea6d023ba37deb9b8f77
parent2a58a9a92ea275c11a83269425677c95c532cc18 (diff)
downloadgit-1403959cc804131a91f15117c7afd6822d0fad90.tar.gz
git-whatchanged: Add usage string
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-whatchanged.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/git-whatchanged.sh b/git-whatchanged.sh
index 85a49fcd8e..b170f74a94 100755
--- a/git-whatchanged.sh
+++ b/git-whatchanged.sh
@@ -1,4 +1,9 @@
#!/bin/sh
+
+USAGE='[-p] [--max-count=<n>] [<since>..<limit>] [--pretty=<format>] [-m] [git-diff-tree options] [git-rev-list options]'
+SUBDIRECTORY_OK='Yes'
+. git-sh-setup
+
rev_list_args=$(git-rev-parse --sq --default HEAD --revs-only "$@") &&
diff_tree_args=$(git-rev-parse --sq --no-revs "$@") &&