Closed ecraven closed 7 years ago
I don't think that moving output of Nothing similar to
to stderr
is right choice.
For users who use sdcv
in interactive mode at least.
Look for example how man
utility works, it prints No manual entry for
to stdout
,
not stderr
. Because if in opposite case user who use less
/more
to paginate output see nothing, untill he exit from more
/less
.
If you want add json API
to sdcv
I think better approach is introducing some kind of mode for it, and disable this output and not redirect it to stderr
.
Good point, thanks for the ideas, I've integrated them into #22.
see #6