summaryrefslogtreecommitdiff
path: root/src/stdio-bridge
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-12-04 13:11:25 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-12-04 13:11:25 +0900
commit8b2c2abc89a98bd715a7c2054986c51a7a6fb403 (patch)
tree28acb1902f5c72717b5c16f6470d86d0084b0aa2 /src/stdio-bridge
parentfc11a1a2041a9050e4aab7fa7bde67f5fd6a3a73 (diff)
downloadsystemd-8b2c2abc89a98bd715a7c2054986c51a7a6fb403.tar.gz
stdio-bridge: add missing option
Diffstat (limited to 'src/stdio-bridge')
-rw-r--r--src/stdio-bridge/stdio-bridge.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/stdio-bridge/stdio-bridge.c b/src/stdio-bridge/stdio-bridge.c
index f523ff2238..4c099990ed 100644
--- a/src/stdio-bridge/stdio-bridge.c
+++ b/src/stdio-bridge/stdio-bridge.c
@@ -57,9 +57,10 @@ static int parse_argv(int argc, char *argv[]) {
};
static const struct option options[] = {
- { "help", no_argument, NULL, 'h' },
- { "bus-path", required_argument, NULL, 'p' },
- { NULL, 0, NULL, 0 }
+ { "help", no_argument, NULL, 'h' },
+ { "version", no_argument, NULL, ARG_VERSION },
+ { "bus-path", required_argument, NULL, 'p' },
+ {},
};
int c;