mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 05:15:06 -05:00
doc: document long options
Document the --version and --help options in chronyd and chronyc man page.
This commit is contained in:
2
client.c
2
client.c
@@ -3506,7 +3506,7 @@ main(int argc, char **argv)
|
||||
int opt, ret = 1, multi = 0, family = IPADDR_UNSPEC;
|
||||
int port = DEFAULT_CANDM_PORT;
|
||||
|
||||
/* Parse (undocumented) long command-line options */
|
||||
/* Parse long command-line options */
|
||||
for (optind = 1; optind < argc; optind++) {
|
||||
if (!strcmp("--help", argv[optind])) {
|
||||
print_help(progname);
|
||||
|
||||
Reference in New Issue
Block a user