summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2017-01-29 23:33:37 +0400
committerEvgeny Vereshchagin <evvers@ya.ru>2017-01-29 22:33:37 +0300
commit554597a1b27ad0a81f4ad0884b348d475e89cb9e (patch)
treea3e2c3589822a24e7b91a8a0ee3b39ee7807ae7f /src/journal-remote
parent644317741a1e19331d779bdccb3dae0c7f812607 (diff)
journal-gatewayd: actually recognize -D as a synonym for --directory (#5180)
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-gatewayd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c
index 8ad9738edf..3616017918 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) {