From c45f51b6500fdcea5444bacf529760b061ef6321 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 3 Mar 2025 00:42:15 +0100 Subject: Tweak help to suggest that the film is really a command parameter. --- src/lib/encode_cli.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/lib/encode_cli.cc') 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 out) { - out(fmt::format("Syntax: {} [OPTION] [COMMAND] []\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] []\n", program_name)); + + out("\nCommands:\n\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("\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 out) out(" --export-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(" is the film directory.\n"); } -- cgit v1.2.3