From 2a5c015cd12ee49131ec6593add969018f8a8f80 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 19 Feb 2008 21:26:04 +0000 Subject: [PATCH] Add missing 'p' to the getopt_long's optstring. --- ChangeLog | 4 ++++ src/groupmod.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index adbe06a1..7a0eb2e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-19 Nicolas François + + * src/groupmod.c: Add missing 'p' to the getopt_long's optstring. + 2008-02-19 Nicolas François * src/groupadd.c: Add missing 'p' to the getopt_long's optstring. diff --git a/src/groupmod.c b/src/groupmod.c index 6bcadddd..4255e858 100644 --- a/src/groupmod.c +++ b/src/groupmod.c @@ -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':