summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-20 10:15:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-20 10:15:31 +0200
commit1b8f9c95b67e097ed191c6baa8db2c8718ef64e2 (patch)
tree5e0a7c6b56ac9f1cbb848cac955dd6b7d4b4cab4
parent9d704b3df9c6d0a87e803b33d40e8d081f539f2e (diff)
downloadcurl-1b8f9c95b67e097ed191c6baa8db2c8718ef64e2.tar.gz
contributors.sh: fix help output, filter out (-prefix from names
-rwxr-xr-xcontributors.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/contributors.sh b/contributors.sh
index cb5a32977..0840bfab0 100755
--- a/contributors.sh
+++ b/contributors.sh
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 2013-2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 2013-2015, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -33,7 +33,8 @@
start=$1
if test -z "$start"; then
- echo "Usage: $0 <since this tag/hash>"
+ echo "Usage: $0 <since this tag/hash> [--releasenotes]"
+ exit
fi
# filter out Author:, Commit: and *by: lines
@@ -59,7 +60,7 @@ if echo "$*" | grep -qw -- '--releasenotes';then
# grep out the list of names from RELEASE-NOTES
# split on ", "
# remove leading white spaces
-grep "^ [^ ]" RELEASE-NOTES| \
+grep "^ [^ \(]" RELEASE-NOTES| \
sed 's/, */\n/g'| \
sed 's/^ *//'
fi