summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1ff7919..d18a48b 100644
--- a/main.c
+++ b/main.c
@@ -1148,7 +1148,7 @@ void log_init(int argc, char **argv) {
optind = 1;
while (1) {
int opt_idx = 0;
- c = getopt_long(argc, argv, "d", long_options, &opt_idx);
+ c = getopt_long(argc, argv, "-:d", long_options, &opt_idx);
if (c == -1) {
break;
}