* src/usermod.c (process_flags): Do not display the usage in case
of an invalid -f value (similar to -e).
This commit is contained in:
parent
c23e851074
commit
82b92af086
@ -26,6 +26,8 @@
|
||||
renamed (as for the homedir)
|
||||
* src/usermod.c (new_pwent): Document that pw_locate will not fail
|
||||
because getpwnam returned successfully.
|
||||
* src/usermod.c (process_flags): Do not display the usage in case
|
||||
of an invalid -f value (similar to -e).
|
||||
|
||||
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
|
@ -944,7 +944,7 @@ static void process_flags (int argc, char **argv)
|
||||
fprintf (stderr,
|
||||
_("%s: invalid numeric argument '%s'\n"),
|
||||
Prog, optarg);
|
||||
usage (E_USAGE);
|
||||
exit (E_BAD_ARG);
|
||||
}
|
||||
fflg = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user