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.
This commit is contained in:
Todd C. Miller
2013-08-16 10:17:47 -06:00
parent 752418ffed
commit acac6ae2a8
2 changed files with 5 additions and 5 deletions

View File

@@ -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);
}

View File

@@ -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"