Disabling rules from the command line isn't working


I’m running this line in the command line:
java -jar languagetool-commandline.jar -l en-GB --enable "PROJECT_NOT_APPROVED_screen" C:\Users\Jake\Desktop\term-checker-test.txt

According to the docs, the --enable flag should include only those rules in the results. But, it’s not working.

I still get these rules in the results:

Can anyone help?


You’ll also need to use -eo (see Command-Line Options - LanguageTool Wiki).

Thanks @dnaber! Is it normal that the results of the command line don’t include examples, but the results of the UI do?

Yes, that’s the way it is.