1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-09-13 05:44:54 +03:00

hwdb: fix parsing options

Fixes #22976.
This commit is contained in:
Yu Watanabe
2022-04-06 01:08:35 +09:00
parent 80b7f7118e
commit 5674b74c4f

View File

@@ -73,7 +73,7 @@ static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0); assert(argc >= 0);
assert(argv); 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) { switch (c) {
case 'h': case 'h':