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);
*-a*::
This option is ignored and is provided only for compatibility.
-*-v*::
+*-v*, *--version*::
With this option *chronyc* displays its version number on the terminal and
exits.
+*--help*::
+With this option *chronyc* displays a help message on the terminal and
+exits.
+
== COMMANDS
This section describes each of the commands available within the *chronyc*
option allows *chronyd* to be started without the capability to adjust or set
the system clock (e.g. in some containers) to operate as an NTP server.
-*-v*::
+*-v*, *--version*::
With this option *chronyd* will print version number to the terminal and exit.
+*-h*, *--help*::
+With this option *chronyd* will print a help message to the terminal and exit.
+
== FILES
_@SYSCONFDIR@/chrony.conf_
LOG_Initialise();
- /* 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);