* 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>
|
2008-08-26 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/groupmems.c: When removing an user, check if deluser is on
|
* 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);
|
deluser = xstrdup (optarg);
|
||||||
++exclusive;
|
++exclusive;
|
||||||
break;
|
break;
|
||||||
case 'p':
|
|
||||||
purge = true;
|
|
||||||
++exclusive;
|
|
||||||
break;
|
|
||||||
case 'g':
|
case 'g':
|
||||||
thisgroup = xstrdup (optarg);
|
thisgroup = xstrdup (optarg);
|
||||||
break;
|
break;
|
||||||
@ -153,6 +149,10 @@ static void process_flags (int argc, char **argv)
|
|||||||
list = true;
|
list = true;
|
||||||
++exclusive;
|
++exclusive;
|
||||||
break;
|
break;
|
||||||
|
case 'p':
|
||||||
|
purge = true;
|
||||||
|
++exclusive;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
usage ();
|
usage ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user