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:
@@ -1207,12 +1207,12 @@ help(void)
|
|||||||
(void) printf(_("%s - replay sudo session logs\n\n"), getprogname());
|
(void) printf(_("%s - replay sudo session logs\n\n"), getprogname());
|
||||||
usage(0);
|
usage(0);
|
||||||
(void) puts(_("\nOptions:\n"
|
(void) puts(_("\nOptions:\n"
|
||||||
" -d, --directory=DIR specify directory for session logs\n"
|
" -d, --directory=dir specify directory for session logs\n"
|
||||||
" -f, --filter=FILTER specify which I/O type(s) to display\n"
|
" -f, --filter=filter specify which I/O type(s) to display\n"
|
||||||
" -h, --help display help message and exit\n"
|
" -h, --help display help message and exit\n"
|
||||||
" -l, --list list available session IDs, with optional expression\n"
|
" -l, --list list available session IDs, with optional expression\n"
|
||||||
" -m, --max-wait=NUM max number of seconds to wait between events\n"
|
" -m, --max-wait=num max number of seconds to wait between events\n"
|
||||||
" -s, --speed=NUM speed up or slow down output\n"
|
" -s, --speed=num speed up or slow down output\n"
|
||||||
" -V, --version display version information and exit"));
|
" -V, --version display version information and exit"));
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
@@ -1311,7 +1311,7 @@ help(void)
|
|||||||
usage(0);
|
usage(0);
|
||||||
(void) puts(_("\nOptions:\n"
|
(void) puts(_("\nOptions:\n"
|
||||||
" -c, --check check-only mode\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"
|
" -h, --help display help message and exit\n"
|
||||||
" -q, --quiet less verbose (quiet) syntax error messages\n"
|
" -q, --quiet less verbose (quiet) syntax error messages\n"
|
||||||
" -s, --strict strict syntax checking\n"
|
" -s, --strict strict syntax checking\n"
|
||||||
|
Reference in New Issue
Block a user