diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-06 01:08:35 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-06 04:03:32 +0900 |
commit | 5674b74c4f99e433fd8e7242e9f16f6ddfece94c (patch) | |
tree | 7f416c4a059cae7198641f39c199b7826cd7ddac /src/hwdb/hwdb.c | |
parent | 80b7f7118efe1d67f130bebd0dc5613278aa3394 (diff) | |
download | systemd-5674b74c4f99e433fd8e7242e9f16f6ddfece94c.tar.gz |
hwdb: fix parsing options
Fixes #22976.
Diffstat (limited to 'src/hwdb/hwdb.c')
-rw-r--r-- | src/hwdb/hwdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwdb/hwdb.c b/src/hwdb/hwdb.c index e70354e444..17ac7e4fbe 100644 --- a/src/hwdb/hwdb.c +++ b/src/hwdb/hwdb.c @@ -73,7 +73,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "ust:r:h", options, NULL)) >= 0) + while ((c = getopt_long(argc, argv, "sr:h", options, NULL)) >= 0) switch (c) { case 'h': |