projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Print --help/--version output to stdout (not stderr).
[pulseview.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index ba8e787069be74066f510c3e1ab28a3459a8401a..e98506fcc0ea19d2d0dc2572252d3ab85748eca4 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-39,7
+39,7
@@
QApplication *g_app = NULL;
void usage()
{
void usage()
{
- fprintf(std
err
,
+ fprintf(std
out
,
"Usage:\n"
" %s — %s\n"
"\n"
"Usage:\n"
" %s — %s\n"
"\n"
@@
-95,7
+95,7
@@
int main(int argc, char *argv[])
switch (c) {
case 'V':
// Print version info
switch (c) {
case 'V':
// Print version info
- fprintf(std
err
, "%s %s\n", PV_TITLE, PV_VERSION_STRING);
+ fprintf(std
out
, "%s %s\n", PV_TITLE, PV_VERSION_STRING);
return 0;
case 'h':
return 0;
case 'h':