From 35a0e4d3d45990a5c3baa7add154c15f6b6a4401 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Tue, 23 Jan 2024 12:05:53 +0100 Subject: [PATCH] utils: iio_info: Drop leftover -s option This option was not handled anymore, but was still accepted in the getopt(). Signed-off-by: Paul Cercueil --- utils/iio_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/iio_info.c b/utils/iio_info.c index e80148d4a..d114910e4 100644 --- a/utils/iio_info.c +++ b/utils/iio_info.c @@ -195,7 +195,7 @@ int main(int argc, char **argv) fprintf(stderr, "Failed to add common options\n"); return EXIT_FAILURE; } - while ((c = getopt_long(argc, argw, "+" COMMON_OPTIONS MY_OPTS "s", /* Flawfinder: ignore */ + while ((c = getopt_long(argc, argw, "+" COMMON_OPTIONS MY_OPTS, /* Flawfinder: ignore */ opts, NULL)) != -1) { switch (c) { /* All these are handled in the common */