From e662e5369a0aec59dbbd5763e999132c3fece565 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 3 Mar 2025 00:28:29 +0100 Subject: Make --dump into a command. --- src/lib/encode_cli.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/lib/encode_cli.cc') diff --git a/src/lib/encode_cli.cc b/src/lib/encode_cli.cc index fb307e019..4fd2feac5 100644 --- a/src/lib/encode_cli.cc +++ b/src/lib/encode_cli.cc @@ -70,6 +70,7 @@ help(function out) 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(" -h, --help show this help\n"); out(" -f, --flags show flags passed to C++ compiler on build\n"); @@ -84,6 +85,7 @@ help(function out) out(" -d, --dcp-path echo DCP's path to stdout on successful completion (implies -n)\n"); out(" -c, --config directory containing config.xml and cinemas.xml\n"); out(" --dump just dump a summary of the film's settings; don't encode\n"); + out(" (deprecated - use the dump command instead)\n"); out(" --no-check don't check project's content files for changes before making the DCP\n"); out(" --export-format export project to a file, rather than making a DCP: specify mov or mp4\n"); out(" --export-filename filename to export to with --export-format\n"); @@ -367,7 +369,8 @@ encode_cli(int argc, char* argv[], function out, function commands = { "make-dcp", - "list-servers" + "list-servers", + "dump" }; if (optind < argc - 1) { @@ -443,7 +446,7 @@ encode_cli(int argc, char* argv[], function out, function