-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix --exclude example in README #62
Comments
I've struggled with this exclude parameter on Windows. I don't know if there's a better way, but I've ended up specifying a separate
Also note the extra quote and backslash characters. Like I say, there might be a better way, but this seems to be working for me at least (I should add this is from a Command Prompt, not PowerShell) |
I'm confused, thought excludes had to be in a JSON? |
(Windows Platform)
Tested in Windows 10:
Output:
Drives me crazy, to be frank. (btw, for this version v2021.12.20, the paths of --exclude is case sensitive even in Windows |
Oops, the latest version is 2021.12.29 |
1. Canonicalize paths in --exclude array 2. Add para dump, mainly for troubleshooting in Windows (without this I will not be able to come out with the exclude argument below (see mergebase#62 (comment)): java -jar log4j-detector-2021.12.20.jar --verbose --exclude="[\"D:\\\\scan\\\\nf\\\\item\\\\ignore\", \"D:\\\\scan\\\\nf\\\\item\\\\ignore2\"]" d:\scan\nf
Hello,
After trying multiple different options, the --exclude example in the README should read:
I removed the "s" from exclude and added single ticks to enclose the [ ].
Thank you
The text was updated successfully, but these errors were encountered: