diff options
| author | ancient-skyscraper <bwb+dcpomaticcom@gibibyte.com> | 2023-03-10 22:01:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-10 22:02:13 +0100 |
| commit | 3c0eab416f67c293fb61069ce285e185d9c349b3 (patch) | |
| tree | 7e36b9ae63b4afce4bfec93ea2a16e4188c87f85 | |
| parent | b4ab9f4adc9dd10d0f1a33286d78821da580a4d1 (diff) | |
Output hints on stderr.
| -rw-r--r-- | src/tools/dcpomatic_cli.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc index 40461b794..3e1e13c51 100644 --- a/src/tools/dcpomatic_cli.cc +++ b/src/tools/dcpomatic_cli.cc @@ -484,13 +484,13 @@ main (int argc, char* argv[]) std::cout << UP_ONE_LINE_AND_ERASE; if (!hints.empty()) { - std::cout << "Hints:\n\n"; + std::cerr << "Hints:\n\n"; for (auto hint: hints) { - std::cout << word_wrap("* " + hint, 70) << "\n"; + std::cerr << word_wrap("* " + hint, 70) << "\n"; } - std::cout << "*** Encoding aborted because hints were found ***\n\n"; - std::cout << "Modify your settings and run the command again, or run without\n"; - std::cout << "the `--hints' option to ignore these hints and encode anyway.\n"; + std::cerr << "*** Encoding aborted because hints were found ***\n\n"; + std::cerr << "Modify your settings and run the command again, or run without\n"; + std::cerr << "the `--hints' option to ignore these hints and encode anyway.\n"; exit(EXIT_FAILURE); } } |
