This works perfectly for 2.0, I'm getting following exception when I'm running in n sonarlint cli 1.0
D:\GScanOjetRules\sonarlint-cli-1.0\sonarlint-cli-1.0\bin>sonarlint.bat --src "**/checks/**" --exclude "**/checks/mahi/**"
D:\GScanOjetRules\sonarlint-cli-1.0\sonarlint-cli-1.0\bin\..
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
ERROR: Error parsing arguments: Unrecognized option: --exclude
INFO:
INFO: usage: sonarlint [options]
INFO:
INFO: Options:
INFO: -D,--define <arg> Define property
INFO: -e,--errors Produce execution error messages
INFO: -h,--help Display help information
INFO: -v,--version Display version information
INFO: -X,--debug Produce execution debug output
INFO: -i,--interactive Run interactively
INFO: --html-report <path> HTML report output path (relative or absolute)
INFO: --src <glob pattern> GLOB pattern to identify source files
INFO: --tests <glob pattern> GLOB pattern to identify test files
INFO: --charset <name> Character encoding of the source files