Mercurial > octave
changeset 25063:a211e39e59d9 stable
restore '--echo-commands' option to same behavior as 'echo on all' (bug #53453)
* interpreter.cc (interpreter::interpreter): Include tree_evaluator::ECHO_ALL
in the initial echo settings when '--echo-commands' option is used.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 30 Mar 2018 12:13:10 -0700 |
parents | 32a7222d637a |
children | 27ade14df345 |
files | libinterp/corefcn/interpreter.cc |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter.cc Fri Mar 30 12:15:01 2018 -0700 +++ b/libinterp/corefcn/interpreter.cc Fri Mar 30 12:13:10 2018 -0700 @@ -478,7 +478,8 @@ if (options.echo_commands ()) m_evaluator.echo - (tree_evaluator::ECHO_SCRIPTS | tree_evaluator::ECHO_FUNCTIONS); + (tree_evaluator::ECHO_SCRIPTS | tree_evaluator::ECHO_FUNCTIONS + | tree_evaluator::ECHO_ALL); std::string docstrings_file = options.docstrings_file (); if (! docstrings_file.empty ())