summaryrefslogtreecommitdiff
path: root/src/lib/encode_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-03 01:11:03 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-08 00:12:07 +0100
commitf180d199dcb0217ea9750ab0a788217689733c41 (patch)
tree92a2080d7237ded0904a361ca7bc599804695be9 /src/lib/encode_cli.cc
parentc45f51b6500fdcea5444bacf529760b061ef6321 (diff)
Further help clarification.
Diffstat (limited to 'src/lib/encode_cli.cc')
-rw-r--r--src/lib/encode_cli.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/encode_cli.cc b/src/lib/encode_cli.cc
index 77970ea2b..67c82c141 100644
--- a/src/lib/encode_cli.cc
+++ b/src/lib/encode_cli.cc
@@ -69,11 +69,12 @@ help(function <void (string)> out)
out(fmt::format("Syntax: {} [OPTION] [COMMAND] [<PARAMETER>]\n", program_name));
out("\nCommands:\n\n");
- out(" make-dcp <FILM> make DCP from the given film; default if no other command is specified\n");
- out(variant::insert_dcpomatic(" list-servers display a list of encoding servers that %1 can use (until Ctrl-C)\n"));
- out(" dump <FILM> show a summary of the film's settings\n");
+ out(" make-dcp <FILM> make DCP from the given film; default if no other command is specified\n");
+ out(variant::insert_dcpomatic(" list-servers display a list of encoding servers that %1 can use (until Ctrl-C)\n"));
+ out(" dump <FILM> show a summary of the film's settings\n");
- out(variant::insert_dcpomatic("\n -v, --version show %1 version\n"));
+ out("\nOptions:\n\n");
+ out(variant::insert_dcpomatic(" -v, --version show %1 version\n"));
out(" -h, --help show this help\n");
out(" -f, --flags show flags passed to C++ compiler on build\n");
out(" -n, --no-progress do not print progress to stdout\n");
@@ -92,6 +93,8 @@ help(function <void (string)> out)
out(" --export-format <format> export project to a file, rather than making a DCP: specify mov or mp4\n");
out(" --export-filename <filename> filename to export to with --export-format\n");
out(" --hints analyze film for hints before encoding and abort if any are found\n");
+ out("\ne.g.\n");
+ out(fmt::format("\n {} -t 4 make-dcp my_great_movie\n", program_name));
out("\n");
}