journal-gatewayd: actually recognize -D as a synonym for --directory (#5180)

This commit is contained in:
Ivan Shapovalov 2017-01-29 23:33:37 +04:00 committed by Evgeny Vereshchagin
parent 644317741a
commit 554597a1b2

View 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) {