Sonarlint CLI - Documentation Error

136 views
Skip to first unread message

gilbert...@googlemail.com

unread,
May 30, 2016, 4:22:40 PM5/30/16
to SonarLint
Hi,

the section for Sonarlint CLI in Sonarqube documentation has several errors :
Examples use sonar-runner instead of sonarlint
Sonarlint CLI doesn't create two html reports :
- a full report (default name is issues-report.html)
- a light report (default name is issues-report-light.html) that only contains new issues

but only one report called sonarlint-report.html


//Gilbert

gilbert...@googlemail.com

unread,
May 30, 2016, 4:49:11 PM5/30/16
to SonarLint
Also another documentation error on http://www.sonarlint.org/commandline/ :
the example "--src - refers to the directory containing the source code in your project"
is wrong, f.e. :
c:\whatever>sonarlint --src=src
c:\sonarlint-cli-1.0\bin\..
ERROR: Error parsing arguments: Unrecognized option: --src=src
 
//Gilbert

gilbert...@googlemail.com

unread,
May 30, 2016, 4:51:39 PM5/30/16
to SonarLint
forgot the example given at http://www.sonarlint.org/commandline/ :

--src
- refers to the directory containing the source code in your project
sonarlint --src=my_sources


Julien HENRY

unread,
May 31, 2016, 2:54:07 AM5/31/16
to gilbert...@googlemail.com, SonarLint
Hi Gilbert,

2016-05-30 22:51 GMT+02:00 gilbert.rebhan via SonarLint <sona...@googlegroups.com>:
sonarlint --src=my_sources

Thanks for your feedback. The correct syntax is sonarlint --src my_sources

I'll update the documentation.

++

Julien
Reply all
Reply to author
Forward
0 new messages