Verbosity
- Implemented new verbosity token 'new-id' which controls whether newly generated task IDs are reported.
This commit is contained in:
@@ -110,7 +110,8 @@ int CmdDuplicate::execute (std::string& output)
|
||||
<< "'.\n";
|
||||
|
||||
// TODO This should be a call in to feedback.cpp.
|
||||
out << format (STRING_CMD_ADD_FEEDBACK, context.tdb.nextId ()) + "\n";
|
||||
if (context.verbose ("new-id"))
|
||||
out << format (STRING_CMD_ADD_FEEDBACK, context.tdb.nextId ()) + "\n";
|
||||
|
||||
context.footnote (onProjectChange (dup));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user