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:
committed by
Paul Beckingham
parent
406f098263
commit
60e7260920
@@ -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."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user