hwdb: fix parsing options

Fixes #22976.
This commit is contained in:
Yu Watanabe
2022-04-06 04:03:32 +09:00
parent 80b7f7118e
commit 5674b74c4f
+1 -1
View File
@@ -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':