mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdCalc
- The 'calc' command (and only the 'calc' command) propagates the rc.debug setting to Eval. This provides the means to debug expression problems.
This commit is contained in:
parent
9390e17871
commit
f316413139
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ int CmdCalc::execute (std::string& output)
|
|||
e.addSource (namedDates);
|
||||
e.addSource (domSource);
|
||||
e.ambiguity (false); // TODO Could/should be configurable.
|
||||
e.debug (context.config.getBoolean ("debug"));
|
||||
|
||||
// Compile all the args into one expression.
|
||||
std::string expression;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue