contributors.sh: fix help output, filter out (-prefix from names
This commit is contained in:
@@ -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
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@@ -33,7 +33,8 @@
|
|||||||
start=$1
|
start=$1
|
||||||
|
|
||||||
if test -z "$start"; then
|
if test -z "$start"; then
|
||||||
echo "Usage: $0 <since this tag/hash>"
|
echo "Usage: $0 <since this tag/hash> [--releasenotes]"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# filter out Author:, Commit: and *by: lines
|
# 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
|
# grep out the list of names from RELEASE-NOTES
|
||||||
# split on ", "
|
# split on ", "
|
||||||
# remove leading white spaces
|
# remove leading white spaces
|
||||||
grep "^ [^ ]" RELEASE-NOTES| \
|
grep "^ [^ \(]" RELEASE-NOTES| \
|
||||||
sed 's/, */\n/g'| \
|
sed 's/, */\n/g'| \
|
||||||
sed 's/^ *//'
|
sed 's/^ *//'
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user