From d38f3a570c3255df703a03976d3b58309df069e1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 2 Oct 1996 16:02:03 +0000 Subject: Handle `-' and `--' args properly. --- utils/sush.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils') diff --git a/utils/sush.sh b/utils/sush.sh index c40ddce8..4fccd75e 100644 --- a/utils/sush.sh +++ b/utils/sush.sh @@ -67,6 +67,10 @@ for I; do exit 0;; --version|-V |--versio|--versi|--vers|--ver|--ve|--v) echo "STANDARD_HURD_VERSION_sush_"; exit 0;; + -) + : ;; + --) + break;; -*) echo 1>&2 "$0: unrecognized option \`$1'" echo 1>&2 "Try \`$0 --help' or \`$0 --usage' for more information"; -- cgit v1.2.3