diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-03 00:42:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-08 00:12:07 +0100 |
| commit | c45f51b6500fdcea5444bacf529760b061ef6321 (patch) | |
| tree | 947db38a3909044a88fbd728bf9a093403dbe8a1 | |
| parent | e662e5369a0aec59dbbd5763e999132c3fece565 (diff) | |
Tweak help to suggest that the film is really a command parameter.
| -rw-r--r-- | src/lib/encode_cli.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/encode_cli.cc b/src/lib/encode_cli.cc index 4fd2feac5..77970ea2b 100644 --- a/src/lib/encode_cli.cc +++ b/src/lib/encode_cli.cc @@ -66,12 +66,14 @@ using boost::optional; static void help(function <void (string)> out) { - out(fmt::format("Syntax: {} [OPTION] [COMMAND] [<FILM>]\n", program_name)); - out("Commands:\n"); - out("make-dcp 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 show a summary of the film's settings\n"); - out(variant::insert_dcpomatic(" -v, --version show %1 version\n")); + 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(variant::insert_dcpomatic("\n -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"); @@ -91,7 +93,6 @@ help(function <void (string)> out) 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("\n"); - out("<FILM> is the film directory.\n"); } |
