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