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

index f1df658..ef33332 100644 (file)
@@ -76,7 +76,7 @@ main (int argc, char* argv[])
        }
 
        if (cc.version) {
        }
 
        if (cc.version) {
-               cerr << "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n";
+               cout << "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n";
                exit (EXIT_SUCCESS);
        }
 
                exit (EXIT_SUCCESS);
        }