From: Carl Hetherington Date: Mon, 9 Dec 2019 23:01:28 +0000 (+0100) Subject: dcpomatic_create should respond to --version on stdout, not stderr (#1686) X-Git-Tag: v2.14.18~5 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=a949b98e6dc94a89c3d705577f5c4af8d8364e4f dcpomatic_create should respond to --version on stdout, not stderr (#1686) --- diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc index f1df658c3..ef3333201 100644 --- a/src/tools/dcpomatic_create.cc +++ b/src/tools/dcpomatic_create.cc @@ -76,7 +76,7 @@ main (int argc, char* argv[]) } if (cc.version) { - cerr << "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n"; + cout << "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n"; exit (EXIT_SUCCESS); }