# HG changeset patch # User John W. Eaton # Date 1581528049 18000 # Node ID cf59b503db2ad0486872acb54421aa52408a22a4 # Parent b3701ea5a48de23e3a338657954734c1e3898227 * mkoctfile.in.cc (main): Accept --silent option. diff -r b3701ea5a48d -r cf59b503db2a src/mkoctfile.in.cc --- a/src/mkoctfile.in.cc Sat Feb 08 15:32:55 2020 -0500 +++ b/src/mkoctfile.in.cc Wed Feb 12 12:20:49 2020 -0500 @@ -471,6 +471,9 @@ "\n" " -v, --verbose Echo commands as they are executed.\n" "\n" + " --silent Ignored. Intended to suppress output from\n" + " compiler steps.\n" + "\n" " FILE Compile or link FILE. Recognized file types are:\n" "\n" " .c C source\n" @@ -701,6 +704,10 @@ if (vars["CXXLD"] == "cc-msvc") vars["CXXLD"] += " -d"; } + else if (arg == "-silent" || arg == "--silent") + { + // Ignored for now. + } else if (arg == "-h" || arg == "-?" || arg == "-help" || arg == "--help") { std::cout << usage_msg << std::endl;