-v option (--vc-report) should direct output to stderr by default, like -o (--std-report) does, even if filename is not specified
At the moment it is not possible to specify -v option without specified file name right after it. -o, in contrast to -v - allows to omit filename, that way output will be redirected to stderr by default
Please implement the same behavior for -v as it was implemented for -o, it should output to stderr if filename is not specified
Reason: it's hard to integrate vera++ and Visual Studio (post-build task), because we need to write to file, then to "cat" (type in windows) the file to stderr then, just to enable vera++ output in Visual Studio Output Window.
-v option is needed to allow Visual Studio tol understand filenames and to allow to navigate right from Output Window.
Comments (4)
-
-
reporter thanks, that helped. although '-' is not intuitive and a bit unexpected (according to UNIX principles of design)
-
reporter - changed status to resolved
-
I don't know if this is not intuitive, but it is a widely used notation for stdout/stdin. See http://unix.stackexchange.com/questions/16357/usage-of-dash-in-place-of-a-filename for example.
And this is documented in the manpage, so it should be ok :-) https://bitbucket.org/verateam/vera/wiki/Running
- Log in to comment
You can use
-v
followed by-
to display the result on the standard output (or error output if used with--warning
or--error
):Does it match your need?