]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: fix parsing options
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Apr 2022 16:08:35 +0000 (01:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Apr 2022 19:03:32 +0000 (04:03 +0900)
Fixes #22976.

src/hwdb/hwdb.c

index e70354e44450b2dece82f1c285ef6b5658811b8f..17ac7e4fbe080396b85cad374e9a7a7fe3497cc8 100644 (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':