dcpomatic_create should respond to --version on stdout, not stderr (#1686).
authorCarl Hetherington <cth@carlh.net>
Mon, 9 Dec 2019 23:01:01 +0000 (00:01 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 9 Dec 2019 23:01:09 +0000 (00:01 +0100)
src/tools/dcpomatic_create.cc

index 87626283cc0b2ed135c12c1e2ba3ca3de66b209e..68ae09c31fdf5bfa446903ad4db6a0b2e63b0b34 100644 (file)
@@ -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);
        }