- // opt description arg name default value
- {'c', "Load alternate configuration file", "config_file", CONFIG_DIR "/" CONFIG_FILENAME},
- {'D', "Disable fork into background", NULL, NULL},
- {'h', "Display help message", NULL, NULL},
- {'P', "File to save a pid while running", "FILE", NULL},
- {'i', "The IP address to listen to.", "address", "All addresses"},
- {'k', "Check daemon configuration.", NULL, NULL},
- {'p', "Port to listen. Can be from 1 to 65535.", "port_number", "19999"},
- {'s', "Path to access host /proc and /sys when running in a container.", "PATH", NULL},
- {'t', "The frequency in seconds, for data collection. \
-Same as 'update every' config file option.", "seconds", "1"},
- {'u', "System username to run as.", "username", "netdata"},
- {'v', "Version of the program", NULL, NULL},
- {'W', "vendor options.", "stacksize=N|unittest|debug_flags=N", NULL},
+ // opt description arg name default value
+ { 'c', "Configuration file to load.", "filename", CONFIG_DIR "/" CONFIG_FILENAME},
+ { 'D', "Do not fork. Run in the foreground.", NULL, "run in the background"},
+ { 'h', "Display this help message.", NULL, NULL},
+ { 'P', "File to save a pid while running.", "filename", "do not save pid to a file"},
+ { 'i', "The IP address to listen to.", "IP", "all IP addresses IPv4 and IPv6"},
+ { 'k', "Check health configuration and exit.", NULL, NULL},
+ { 'p', "API/Web port to use.", "port", "19999"},
+ { 's', "Prefix for /proc and /sys (for containers).", "path", "no prefix"},
+ { 't', "The internal clock of netdata.", "seconds", "1"},
+ { 'u', "Run as user.", "username", "netdata"},
+ { 'v', "Print netdata version and exit.", NULL, NULL},
+ { 'W', "See Advanced options below.", "options", NULL},