From acac6ae2a8a027dd5bcd38db1746b1c9d0c23397 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 16 Aug 2013 10:17:47 -0600 Subject: [PATCH] Use lower case for the long option arguments to match the manual. This is inconsistent with GNU but it is better to match the sudo documentation. --- plugins/sudoers/sudoreplay.c | 8 ++++---- plugins/sudoers/visudo.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/sudoers/sudoreplay.c b/plugins/sudoers/sudoreplay.c index 41f45d1c3..5a9bbc253 100644 --- a/plugins/sudoers/sudoreplay.c +++ b/plugins/sudoers/sudoreplay.c @@ -1207,12 +1207,12 @@ help(void) (void) printf(_("%s - replay sudo session logs\n\n"), getprogname()); usage(0); (void) puts(_("\nOptions:\n" - " -d, --directory=DIR specify directory for session logs\n" - " -f, --filter=FILTER specify which I/O type(s) to display\n" + " -d, --directory=dir specify directory for session logs\n" + " -f, --filter=filter specify which I/O type(s) to display\n" " -h, --help display help message and exit\n" " -l, --list list available session IDs, with optional expression\n" - " -m, --max-wait=NUM max number of seconds to wait between events\n" - " -s, --speed=NUM speed up or slow down output\n" + " -m, --max-wait=num max number of seconds to wait between events\n" + " -s, --speed=num speed up or slow down output\n" " -V, --version display version information and exit")); exit(0); } diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c index 61a8ae438..983eaa5b2 100644 --- a/plugins/sudoers/visudo.c +++ b/plugins/sudoers/visudo.c @@ -1311,7 +1311,7 @@ help(void) usage(0); (void) puts(_("\nOptions:\n" " -c, --check check-only mode\n" - " -f, --file=FILE specify sudoers file location\n" + " -f, --file=file specify sudoers file location\n" " -h, --help display help message and exit\n" " -q, --quiet less verbose (quiet) syntax error messages\n" " -s, --strict strict syntax checking\n"