mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Print a message in bulk change when the user choose not to denotate a specific task (more consistent behaviour with other bulk changes).
This commit is contained in:
parent
406f098263
commit
60e7260920
2 changed files with 6 additions and 0 deletions
|
@ -127,6 +127,11 @@ int CmdDenotate::execute (std::string& output)
|
|||
if (context.verbose ("project"))
|
||||
projectChanges[task->get ("project")] = onProjectChange (*task, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cout << STRING_CMD_DENO_NO << "\n";
|
||||
rc = 1;
|
||||
}
|
||||
if (context.verbose ("blank"))
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
|
|
@ -392,6 +392,7 @@
|
|||
#define STRING_CMD_DENO_CONFIRM "Denotate task {1} '{2}'?"
|
||||
#define STRING_CMD_DENO_FOUND "Found annotation '{1}' and deleted it."
|
||||
#define STRING_CMD_DENO_NOMATCH "Did not find any matching annotation to be deleted for '{1}'."
|
||||
#define STRING_CMD_DENO_NO "Task not denotated."
|
||||
#define STRING_CMD_DENO_1 "Denotated {1} task."
|
||||
#define STRING_CMD_DENO_N "Denotated {1} tasks."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue