need a "quiet" option
therealbill opened this issue · 3 comments
When including a directory with many files (such as an HTML directory for a web app) the output becomes unusable as every file is listed (it appears) twice.
An option to not list every mapped file would be very useful.
Sure thing, sounds like a plan. There's already an option for controlling verbosity -v
, which I've been meaning to extend towards multiple levels of verbosity, but that's a bigger task.
For the time-being I could just make that particular output 'verbose only'. I think that should do the job, eh. I'll do it on the weekend.
Sounds good to me.
Here you go. -q
is the quiet option. It'll only print warnings and errors in this case. I've tested on a few configurations, and I think I've got it covered all now. Also, the default should be a little less noisy now. (the -v verbose option is extremely noisy).
Get latest via go get -u github.com/laher/goxc
and then goxc -q
.