src/collectd.c: Add the `-t' and `-h' switches to the usage information.
authorFlorian octo Forster <octo@dev4.office.noris.de>
Tue, 26 Feb 2008 11:22:15 +0000 (12:22 +0100)
committerFlorian octo Forster <octo@dev4.office.noris.de>
Tue, 26 Feb 2008 11:22:15 +0000 (12:22 +0100)
src/collectd.c

index 984ff75..9701490 100644 (file)
@@ -227,11 +227,13 @@ static void exit_usage (void)
                        "  General:\n"
                        "    -C <file>       Configuration file.\n"
                        "                    Default: "CONFIGFILE"\n"
+                       "    -t              Test config and exit.\n"
                        "    -P <file>       PID-file.\n"
                        "                    Default: "PIDFILE"\n"
 #if COLLECT_DAEMON
                        "    -f              Don't fork to the background.\n"
 #endif
+                       "    -h              Display help (this message)\n"
                        "\nBuiltin defaults:\n"
                        "  Config-File       "CONFIGFILE"\n"
                        "  PID-File          "PIDFILE"\n"