projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc8ea49
)
dcpomatic_create should respond to --version on stdout, not stderr (#1686).
author
Carl Hetherington
<cth@carlh.net>
Mon, 9 Dec 2019 23:01:01 +0000
(
00:01
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 9 Dec 2019 23:01:09 +0000
(
00:01
+0100)
src/tools/dcpomatic_create.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_create.cc
b/src/tools/dcpomatic_create.cc
index 87626283cc0b2ed135c12c1e2ba3ca3de66b209e..68ae09c31fdf5bfa446903ad4db6a0b2e63b0b34 100644
(file)
--- a/
src/tools/dcpomatic_create.cc
+++ b/
src/tools/dcpomatic_create.cc
@@
-76,7
+76,7
@@
main (int argc, char* argv[])
}
if (cc.version) {
}
if (cc.version) {
- c
err
<< "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n";
+ c
out
<< "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n";
exit (EXIT_SUCCESS);
}
exit (EXIT_SUCCESS);
}