fix handling when a proper getopt(1) is available; the "--"
end-of-options marker wasn't recognized
This commit is contained in:
parent
93b4b88e96
commit
96b935e643
|
@ -61,6 +61,10 @@ while [ "$#" -gt 0 ] ; do
|
|||
EXPLANATION="`cat $2`"
|
||||
shift 2
|
||||
;;
|
||||
--)
|
||||
shift 1
|
||||
break
|
||||
;;
|
||||
-*)
|
||||
echo "Unknown option: $1" >&2
|
||||
exit 2
|
||||
|
|
Loading…
Reference in New Issue