* src/groups.sh: Don't ignore first argument if later argument is --.
authorEric Blake <ebb9@byu.net>
Fri, 28 Sep 2007 23:09:30 +0000 (23:09 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 29 Sep 2007 05:53:49 +0000 (07:53 +0200)
Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
src/groups.sh

index b63e919..0d98141 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-28  Eric Blake  <ebb9@byu.net>
+
+       * src/groups.sh: Don't ignore first argument if later argument is --.
+
 2007-09-27  Jim Meyering  <jim@meyering.net>
 
        Avoid spurious test failure when SELinux stats "selinux/class".
index 54ae918..7afe52e 100755 (executable)
@@ -52,6 +52,8 @@ do
     -*)
       echo "$0: invalid option: $arg" >&2
       exit 1 ;;
+    *)
+      break ;;
   esac
 done