]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal-gatewayd: actually recognize -D as a synonym for --directory (#5180)
authorIvan Shapovalov <intelfx@intelfx.name>
Sun, 29 Jan 2017 19:33:37 +0000 (23:33 +0400)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sun, 29 Jan 2017 19:33:37 +0000 (22:33 +0300)
src/journal-remote/journal-gatewayd.c

index 8ad9738edf41a80b336e3c94e2b7e4c7fd55454f..361601791883dca1479b158b88ee31151043a9f9 100644 (file)
@@ -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) {