]> granicus.if.org Git - sudo/commitdiff
updated useag
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Jun 1994 16:53:55 +0000 (16:53 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Jun 1994 16:53:55 +0000 (16:53 +0000)
visudo.c

index 19f28dc93c964c9f170885c4a27b4157b57ab1a2..aff259dc0199060927c6abb5e9ecfedc4b1d148d 100644 (file)
--- a/visudo.c
+++ b/visudo.c
@@ -98,9 +98,9 @@ main(argc, argv)
 
     if (argc > 1) {
        /*
-        * print version string and exit if we got -v
+        * print version string and exit if we got -V
         */
-       if (!strcmp(argv[1], "-v")) {
+       if (!strcmp(argv[1], "-V")) {
            (void) printf("visudo version %s\n", version);
            exit(0);
        } else {
@@ -264,7 +264,7 @@ main(argc, argv)
 
 static void usage()
 {
-    (void) fprintf(stderr, "usage: %s [-v]\n", *Argv);
+    (void) fprintf(stderr, "usage: %s [-V]\n", *Argv);
     exit(1);
 }