From 8b2c2abc89a98bd715a7c2054986c51a7a6fb403 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 4 Dec 2017 13:11:25 +0900 Subject: stdio-bridge: add missing option --- src/stdio-bridge/stdio-bridge.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/stdio-bridge/stdio-bridge.c') 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; -- cgit v1.2.3