+4
Answered

Command Line Client: Define rules per Parameter

Anonymous 10 years ago updated by Roman 10 years ago 6
FixInsightCL -- project=\source\example.dpr --rules=W507;508;C105;C106
But you can already do this using --settings parameter and passing a .ficfg file. Do you think it worth having an additional --rules parameter?
Ok..can you then explain the usage in the documentation. Behause the documentation says mit how to overdrive the project Settings.
When you run FixInsight in Delphi IDE there is the Settings dialog. This dialog saves your setting in a *.ficfg file into your project folder. After that you can also use this settings file with the command line tool using --settings parameter. Like "--settings=c:\project\project1.ficfg".

Is this way convenient for you?
Yes that's enough. Thank you.