* 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

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