mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-27 12:16:21 +02:00
Verbosity
- Implemented new verbosity token 'new-id' which controls whether newly generated task IDs are reported.
This commit is contained in:
parent
3456a24749
commit
ad55fa2d79
5 changed files with 12 additions and 13 deletions
|
@ -72,9 +72,8 @@ int CmdAdd::execute (std::string& output)
|
|||
context.tdb.add (task);
|
||||
|
||||
// TODO This should be a call in to feedback.cpp.
|
||||
#ifdef FEATURE_NEW_ID
|
||||
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb.nextId ()) + "\n";
|
||||
#endif
|
||||
if (context.verbose ("new-id"))
|
||||
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb.nextId ()) + "\n";
|
||||
|
||||
context.footnote (onProjectChange (task));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue