stdio-bridge: add missing option

This commit is contained in:
Yu Watanabe 2017-12-04 13:11:25 +09:00
parent fc11a1a204
commit 8b2c2abc89
1 changed files with 4 additions and 3 deletions

View File

@ -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;