From 62c34b28567a097e8f22576e7d7891bd3dbe0ac0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 9 Jul 2025 22:53:27 +0200 Subject: Replace String::compose with fmt. sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc --- src/lib/encode_cli.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/encode_cli.cc') diff --git a/src/lib/encode_cli.cc b/src/lib/encode_cli.cc index 88fc36ac5..8bf1a4a26 100644 --- a/src/lib/encode_cli.cc +++ b/src/lib/encode_cli.cc @@ -72,7 +72,7 @@ help(function out) 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(variant::insert_dcpomatic(" list-servers display a list of encoding servers that {} can use (until Ctrl-C)\n")); out(" dump show a summary of the film's settings\n"); #ifdef DCPOMATIC_GROK out(" config-params list the parameters that can be set with `config`\n"); @@ -81,7 +81,7 @@ help(function out) #endif out("\nOptions:\n\n"); - out(variant::insert_dcpomatic(" -v, --version show %1 version\n")); + out(variant::insert_dcpomatic(" -v, --version show {} 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"); @@ -90,7 +90,7 @@ help(function out) out(" -j, --json run a JSON server on the specified port\n"); out(" -k, --keep-going keep running even when the job is complete\n"); out(" -s, --servers specify servers to use in a text file\n"); - out(variant::insert_dcpomatic(" -l, --list-servers just display a list of encoding servers that %1 is configured to use; don't encode\n")); + out(variant::insert_dcpomatic(" -l, --list-servers just display a list of encoding servers that {} is configured to use; don't encode\n")); out(" (deprecated - use the list-servers command instead)\n"); 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"); -- cgit v1.2.3