Fix parsing option for avoiding making BaseDir
[collectd.git] / src / daemon / collectd.c
index b4668e0..0149f40 100644 (file)
@@ -295,7 +295,7 @@ static int do_shutdown(void) {
 static void read_cmdline(int argc, char **argv, struct cmdline_config *config) {
   /* read options */
   while (1) {
-    int c = getopt(argc, argv, "htTC:"
+    int c = getopt(argc, argv, "BhtTC:"
 #if COLLECT_DAEMON
                                "fP:"
 #endif