changeset 28058:cf59b503db2a

* mkoctfile.in.cc (main): Accept --silent option.
author John W. Eaton <jwe@octave.org>
date Wed, 12 Feb 2020 12:20:49 -0500
parents b3701ea5a48d
children e9d57f6d6353
files src/mkoctfile.in.cc
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;