* src/groupmems.c: Handle the options alphabetically.

This commit is contained in:
nekral-guest 2008-08-30 18:29:31 +00:00
parent 0c7df2f9a0
commit 0802405344
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c: Handle the options alphabetically.
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c: When removing an user, check if deluser is on

View File

@ -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 ();
}