From: Todd C. Miller Date: Mon, 6 Jun 1994 16:53:55 +0000 (+0000) Subject: updated useag X-Git-Tag: SUDO_1_3_1~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fe50ceef117af5d93702fe67328e7eafbd06143;p=sudo updated useag --- diff --git a/visudo.c b/visudo.c index 19f28dc93..aff259dc0 100644 --- 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); }