From: Christian Goeschel Ndjomouo Date: Sun, 18 Jan 2026 20:15:38 +0000 (-0500) Subject: tools: (get-options.sh) refine regex for unsupported programs to avoid false positives X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f4537b8a8df674a2aee1d3fc83e7af3196077bf;p=thirdparty%2Futil-linux.git tools: (get-options.sh) refine regex for unsupported programs to avoid false positives Signed-off-by: Christian Goeschel Ndjomouo --- 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