From: Yu Watanabe Date: Tue, 5 Apr 2022 16:08:35 +0000 (+0900) Subject: hwdb: fix parsing options X-Git-Tag: v251-rc2~191 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=5674b74c4f99e433fd8e7242e9f16f6ddfece94c;p=systemd%2F.git hwdb: fix parsing options Fixes #22976. --- 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':