From ed5c4c0b5017895a8f8b08f89d302f6bf6db3aee Mon Sep 17 00:00:00 2001 From: Jaekwon Bang Date: Wed, 31 Dec 2025 15:48:38 +0900 Subject: [PATCH] Add how to use -e option --- src/fosslight_scanner/_help.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fosslight_scanner/_help.py b/src/fosslight_scanner/_help.py index 9a9951a..46cec0d 100644 --- a/src/fosslight_scanner/_help.py +++ b/src/fosslight_scanner/_help.py @@ -29,7 +29,9 @@ -f [ ...]\t FOSSLight Report file format ({', '.join(SUPPORT_FORMAT)}) * Compare mode result file: supports excel, json, yaml, html * Multiple formats can be specified separated by space. - -e \t\t Path to exclude from analysis (ex, -e [dir] [file]) + -e \t\t Path to exclude from analysis (files and directories) + * IMPORTANT: Always wrap patterns in double quotes ("") to avoid shell expansion. + Example) fosslight -e "test/abc.py" "*.jar" -o \t\t Output directory or file -c \t\t Number of processes to analyze source -r\t\t\t Keep raw data