aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/contrithanks.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh
index 85af71038..da395aebf 100755
--- a/scripts/contrithanks.sh
+++ b/scripts/contrithanks.sh
@@ -28,8 +28,12 @@
start=$1
-if test -z "$start"; then
+if test "$start" = "-h"; then
echo "Usage: $0 <since this tag/hash>"
+ exit
+fi
+if test -z "$start"; then
+ start=`git tag --sort=taggerdate | tail -1`;
fi
cat ./docs/THANKS