mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
mkvmerge: remove #defines
This commit is contained in:
parent
65eeb67f0e
commit
2e142d2d8a
@ -76,18 +76,17 @@ static std::string s_split_by_chapters_arg;
|
||||
|
||||
/** \brief Outputs usage information
|
||||
*/
|
||||
#define S(x) std::string{x}
|
||||
static void
|
||||
set_usage() {
|
||||
std::string usage_text;
|
||||
|
||||
auto nl = S("\n");
|
||||
auto nl = "\n"s;
|
||||
usage_text = "";
|
||||
usage_text += Y("mkvmerge -o out [global options] [options1] <file1> [@option-file.json] …\n");
|
||||
usage_text += "\n";
|
||||
usage_text += Y(" Global options:\n");
|
||||
usage_text += S(" -v, --verbose ") + Y("Increase verbosity.") + nl;
|
||||
usage_text += S(" -q, --quiet ") + Y("Suppress status output.") + nl;
|
||||
usage_text += " -v, --verbose "s + Y("Increase verbosity.") + nl;
|
||||
usage_text += " -q, --quiet "s + Y("Suppress status output.") + nl;
|
||||
usage_text += Y(" -o, --output out Write to the file 'out'.\n");
|
||||
usage_text += Y(" -w, --webm Create WebM compliant file.\n");
|
||||
usage_text += Y(" --title <title> Title for this destination file.\n");
|
||||
@ -408,7 +407,6 @@ set_usage() {
|
||||
mtx::cli::g_version_info = get_version_info("mkvmerge", vif_full);
|
||||
mtx::cli::g_usage_text = usage_text;
|
||||
}
|
||||
#undef S
|
||||
|
||||
/** \brief Prints information about what has been compiled into mkvmerge
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user