]> granicus.if.org Git - shadow/commitdiff
* src/usermod.c (process_flags): Indicate that the user name is
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 14 Jul 2011 13:29:59 +0000 (13:29 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 14 Jul 2011 13:29:59 +0000 (13:29 +0000)
invalid, instead of just a 'field'.

ChangeLog
src/usermod.c

index d0433ae821a5decfebc1e2af446174bf5eb3d1a5..4e31be1b9781a7e28a3e2c2f5e8e587f80cefd88 100644 (file)
--- 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  <nicolas.francois@centraliens.net>
 
index 9525ade3dbaeae1fc6c75490b1169b8af3548aa8..16092e2afb712626c83b5059e80cb113bb94cc7c 100644 (file)
@@ -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);
                                }