diff --git a/ChangeLog b/ChangeLog index d0433ae8..4e31be1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,8 @@ because getpwnam returned successfully. * src/usermod.c (process_flags): Do not display the usage in case of an invalid -f value (similar to -e). + * src/usermod.c (process_flags): Indicate that the user name is + invalid, instead of just a 'field'. 2011-07-08 Nicolas François diff --git a/src/usermod.c b/src/usermod.c index 9525ade3..16092e2a 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -971,7 +971,7 @@ static void process_flags (int argc, char **argv) case 'l': if (!is_valid_user_name (optarg)) { fprintf (stderr, - _("%s: invalid field '%s'\n"), + _("%s: invalid user name '%s'\n"), Prog, optarg); exit (E_BAD_ARG); }