* src/groupmems.c: Handle the options alphabetically.
This commit is contained in:
parent
0c7df2f9a0
commit
0802405344
@ -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
|
||||
|
@ -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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user