Add missing 'p' to the getopt_long's optstring.

This commit is contained in:
nekral-guest 2008-02-19 21:26:04 +00:00
parent dc641054a1
commit 2a5c015cd1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-02-19 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmod.c: Add missing 'p' to the getopt_long's optstring.
2008-02-19 Nicolas François <nicolas.francois@centraliens.net>
* src/groupadd.c: Add missing 'p' to the getopt_long's optstring.

View File

@ -369,7 +369,7 @@ static void process_flags (int argc, char **argv)
{NULL, 0, NULL, '\0'}
};
while ((c =
getopt_long (argc, argv, "g:hn:o",
getopt_long (argc, argv, "g:hn:op:",
long_options, &option_index)) != -1) {
switch (c) {
case 'g':