From: nekral-guest Date: Sat, 30 Aug 2008 18:29:31 +0000 (+0000) Subject: * src/groupmems.c: Handle the options alphabetically. X-Git-Tag: 4.1.3~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0802405344b93b13917dcce9fb3c023de4946ce3;p=thirdparty%2Fshadow.git * src/groupmems.c: Handle the options alphabetically. --- diff --git a/ChangeLog b/ChangeLog index 34231bccf..74b1875e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-08-26 Nicolas François + + * src/groupmems.c: Handle the options alphabetically. + 2008-08-26 Nicolas François * src/groupmems.c: When removing an user, check if deluser is on diff --git a/src/groupmems.c b/src/groupmems.c index b659fe19c..5f1dcb030 100644 --- a/src/groupmems.c +++ b/src/groupmems.c @@ -142,10 +142,6 @@ static void process_flags (int argc, char **argv) deluser = xstrdup (optarg); ++exclusive; break; - case 'p': - purge = true; - ++exclusive; - break; case 'g': thisgroup = xstrdup (optarg); break; @@ -153,6 +149,10 @@ static void process_flags (int argc, char **argv) list = true; ++exclusive; break; + case 'p': + purge = true; + ++exclusive; + break; default: usage (); }