cflint / CFLint

Static code analysis for CFML (a linter)
BSD 3-Clause "New" or "Revised" License
174 stars 84 forks source link

Specifying -textfile as an argument, implies -text should be set. #2

Closed kenguest closed 10 years ago

kenguest commented 10 years ago

Currently I have to explicitly specify something like:

$ cflint -v -folder=blocks -text -textfile /dev/stdout 

Including -text as an argument is redundant, and shouldn't be required.

Similarly specifying -htmlfile or -htmlstyle imply html output is desired, so -html shouldn't need to be specified.

ryaneberly commented 10 years ago

I agree. This is implemented..

I also changed the default of -textfile. When you specify -text w/o -textfile it assumes stdout.