Open tomschr opened 7 years ago
But I see your point: If we want to try editor integration, writing to stdout makes sense.
DAPS already sets an output file, so this should not create any important compatibility issues (as most people use sdsc via DAPS anyway).
Currently, sdsc supports an optional outputfile. If the outputfile is given, the result will be written into the file. That's good. However, if outputfile is left out, the result is written to a file
*-stylecheck.xml
.I think we should change that behaviour for the following reasons:
--help
output doesn't tell you that.The most compelling reason to use stdout as a output is to create building blocks. For example, you can use sdsc and pipe the result to a different tool. Writing the result to a file makes this use case much more difficult than it has to be.
@sknorr What do you think? 😄