From: Ivan Shapovalov Date: Sun, 29 Jan 2017 19:33:37 +0000 (+0400) Subject: journal-gatewayd: actually recognize -D as a synonym for --directory (#5180) X-Git-Tag: v233~202 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=554597a1b27ad0a81f4ad0884b348d475e89cb9e;p=thirdparty%2Fsystemd.git journal-gatewayd: actually recognize -D as a synonym for --directory (#5180) --- diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c index 8ad9738edf4..36160179188 100644 --- a/src/journal-remote/journal-gatewayd.c +++ b/src/journal-remote/journal-gatewayd.c @@ -912,7 +912,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) + while ((c = getopt_long(argc, argv, "hD:", options, NULL)) >= 0) switch(c) {