]> granicus.if.org Git - shadow/commitdiff
Add missing 'p' to the getopt_long's optstring.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 19 Feb 2008 21:26:04 +0000 (21:26 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 19 Feb 2008 21:26:04 +0000 (21:26 +0000)
ChangeLog
src/groupmod.c

index adbe06a1c026706f516bb251f416434b058a8bce..7a0eb2e940eb2d89ce956014f5994eb9b5316609 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 6bcadddd2ae9cb2fdf2ea884ff2865bb30331007..4255e8587d820ec62ef537b876329133fe10be07 100644 (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':