# HG changeset patch # User Mike Miller # Date 1385435497 18000 # Node ID 2831a949a2199c58142bd43e795c6d7abd0ce97b # Parent 25b6fbe828273379181d4facfbaa0e9635cf3ae5 Restore passing '--silent' option from octave wrapper executable * src/main.in.cc (main): Append '--silent' and variants to new_argv. Add '--quiet' to the list of options handled by the wrapper. diff -r 25b6fbe82827 -r 2831a949a219 src/main.in.cc --- a/src/main.in.cc Mon Nov 25 19:10:33 2013 -0800 +++ b/src/main.in.cc Mon Nov 25 22:11:37 2013 -0500 @@ -636,8 +636,12 @@ // This option calls the cli executable for the 3.8 release. } - else if (! strcmp (argv[i], "--silent") || ! strcmp (argv[i], "-q")) - warn_display = false; + else if (! strcmp (argv[i], "--silent") || ! strcmp (argv[i], "--quiet") + || ! strcmp (argv[i], "-q")) + { + warn_display = false; + new_argv[k++] = argv[i]; + } else new_argv[k++] = argv[i]; }