From 8f4537b8a8df674a2aee1d3fc83e7af3196077bf Mon Sep 17 00:00:00 2001 From: Christian Goeschel Ndjomouo Date: Sun, 18 Jan 2026 15:15:38 -0500 Subject: [PATCH] tools: (get-options.sh) refine regex for unsupported programs to avoid false positives Signed-off-by: Christian Goeschel Ndjomouo --- tools/get-options.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/get-options.sh b/tools/get-options.sh index 0eeb1fe4b..a7299fec2 100755 --- a/tools/get-options.sh +++ b/tools/get-options.sh @@ -35,7 +35,7 @@ src_file_paths="$(cd "${TOP_SRCDIR}" && grep -rE --include="*.c" --exclude="*tes # We skip these programs because they do not make use of 'struct option longopts[]' # which is passed to getopt(3) for command line argument parsing. -unsupported_programs='blockdev|fsck|kill|mkfs\.cramfs|pg|renice|runuser|whereis' +unsupported_programs='^blockdev$|^fsck$|^kill$|^mkfs\.cramfs$|^pg$|^renice$|^runuser$|^whereis$' # In general a program's source file name will be '.c', however # some tools have differing file names. To handle these special cases we build -- 2.47.3