projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b4ab9f4
)
Output hints on stderr.
author
ancient-skyscraper
<bwb+dcpomaticcom@gibibyte.com>
Fri, 10 Mar 2023 21:01:14 +0000
(22:01 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 10 Mar 2023 21:02:13 +0000
(22:02 +0100)
src/tools/dcpomatic_cli.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_cli.cc
b/src/tools/dcpomatic_cli.cc
index 40461b7949d338300a07dee27ac9a5b0f9b5f90a..3e1e13c515f84a1ce60e4938833e44541fbb9923 100644
(file)
--- 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 << UP_ONE_LINE_AND_ERASE;
if (!hints.empty()) {
- std::c
out
<< "Hints:\n\n";
+ std::c
err
<< "Hints:\n\n";
for (auto hint: hints) {
for (auto hint: hints) {
- std::c
out
<< word_wrap("* " + hint, 70) << "\n";
+ std::c
err
<< word_wrap("* " + hint, 70) << "\n";
}
}
- std::c
out
<< "*** Encoding aborted because hints were found ***\n\n";
- std::c
out
<< "Modify your settings and run the command again, or run without\n";
- std::c
out
<< "the `--hints' option to ignore these hints and encode anyway.\n";
+ std::c
err
<< "*** Encoding aborted because hints were found ***\n\n";
+ std::c
err
<< "Modify your settings and run the command again, or run without\n";
+ std::c
err
<< "the `--hints' option to ignore these hints and encode anyway.\n";
exit(EXIT_FAILURE);
}
}
exit(EXIT_FAILURE);
}
}