summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-09-28 23:09:30 +0000
committerJim Meyering <jim@meyering.net>2007-09-29 07:53:49 +0200
commit329982b723c4000b8371c54d51f5e2eaae71dc7a (patch)
tree26293b4105b61cf890f1a7b10c4fa82bef030845 /src
parent5b0e90427261d1614da012dbd164ad446f403b46 (diff)
downloadcoreutils-329982b723c4000b8371c54d51f5e2eaae71dc7a.tar.xz
* src/groups.sh: Don't ignore first argument if later argument is --.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/groups.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/groups.sh b/src/groups.sh
index 54ae918c7..7afe52e71 100755
--- a/src/groups.sh
+++ b/src/groups.sh
@@ -52,6 +52,8 @@ do
-*)
echo "$0: invalid option: $arg" >&2
exit 1 ;;
+ *)
+ break ;;
esac
done