summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorancient-skyscraper <bwb+dcpomaticcom@gibibyte.com>2023-03-09 14:16:56 -0500
committerCarl Hetherington <cth@carlh.net>2023-03-10 21:57:57 +0100
commitb4ab9f4adc9dd10d0f1a33286d78821da580a4d1 (patch)
treee4c57b72dd40377f448afc2991a7d4a9db9f9271 /src
parent988e8d923fa30bca1be6ec78455324e1f2e62771 (diff)
Update documentation and CLI UI with hint info
Goal is to explain what hints are, and how the `--hints` option changes behavior of `dcpomatic2_cli` command
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_cli.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index f4359ce86..40461b794 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -78,7 +78,7 @@ help (string n)
<< " --no-check don't check project's content files for changes before making the DCP\n"
<< " --export-format <format> export project to a file, rather than making a DCP: specify mov or mp4\n"
<< " --export-filename <filename> filename to export to with --export-format\n"
- << " --hints show hints and stop if any are given\n"
+ << " --hints analyze film for hints before encoding and abort if any are found\n"
<< "\n"
<< "<FILM> is the film directory.\n";
}
@@ -488,6 +488,9 @@ main (int argc, char* argv[])
for (auto hint: hints) {
std::cout << 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";
exit(EXIT_FAILURE);
}
}