From 380b86394e0cb71ef4e6297ad72092ebdd9bd80a Mon Sep 17 00:00:00 2001 From: ranke Date: Mon, 14 Dec 2015 06:58:11 +0000 Subject: 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 --- backport | 1 + 1 file changed, 1 insertion(+) (limited to 'backport') 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 -- cgit v1.2.1