summaryrefslogtreecommitdiff
path: root/backport
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2015-12-14 06:58:11 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2015-12-14 06:58:11 +0000
commit380b86394e0cb71ef4e6297ad72092ebdd9bd80a (patch)
tree007039d99fb7f2273a823b316638fc2611fbd5e1 /backport
parentb8b2e403ae64b417a5928cb6a96b00478869b4f3 (diff)
Report usage on invalid options, don't use getopts in backport_others
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@113 f247ebf9-aa24-0410-a698-f940e971ad2b
Diffstat (limited to 'backport')
-rwxr-xr-xbackport1
1 files changed, 1 insertions, 0 deletions
diff --git a/backport b/backport
index 2eb6b05..4761ee2 100755
--- a/backport
+++ b/backport
@@ -44,6 +44,7 @@ while test -n "${1}"; do
;;
-*)
echo "Error: Unknown option: $1" >&2
+ usage
exit 1
;;
*) # No more options

Contact - Imprint