]> granicus.if.org Git - sudo/commitdiff
Better error message about invalid -C argument
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 22 Mar 2011 14:19:37 +0000 (10:19 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 22 Mar 2011 14:19:37 +0000 (10:19 -0400)
--HG--
branch : 1.7

parse_args.c

index 16eebbca3cde2cf184e3a835c0bd2263ea85ec6c..ee4245b25c8d4b903c8c31c246af59e769399583 100644 (file)
@@ -121,7 +121,7 @@ parse_args(argc, argv)
                    break;
                case 'C':
                    if ((user_closefrom = atoi(optarg)) < 3) {
-                       warningx("the argument to -C must be at least 3");
+                       warningx("the argument to -C must be a number greater than or equal to 3");
                        usage(1);
                    }
                    break;