mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdLog: Display the UUID of the logged task
This commit is contained in:
parent
889e36116c
commit
7ba98ea241
3 changed files with 4 additions and 4 deletions
|
@ -71,8 +71,8 @@ int CmdLog::execute (std::string& output)
|
|||
if (context.verbose ("project"))
|
||||
context.footnote (onProjectChange (task));
|
||||
|
||||
if (context.verbose ("affected"))
|
||||
output = std::string (STRING_CMD_LOG_LOGGED) + "\n";
|
||||
if (context.verbose ("new-uuid"))
|
||||
output = format (STRING_CMD_LOG_LOGGED, task.get ("uuid")) + "\n";
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
#define STRING_CMD_LOG_USAGE "Adds a new task that is already completed"
|
||||
#define STRING_CMD_LOG_NO_RECUR "You cannot log recurring tasks."
|
||||
#define STRING_CMD_LOG_NO_WAITING "You cannot log waiting tasks."
|
||||
#define STRING_CMD_LOG_LOGGED "Logged task."
|
||||
#define STRING_CMD_LOG_LOGGED "Logged task {1}."
|
||||
#define STRING_CMD_IDS_USAGE_RANGE "Shows the IDs of matching tasks, as a range"
|
||||
#define STRING_CMD_IDS_USAGE_LIST "Shows the IDs of matching tasks, in the form of a list"
|
||||
#define STRING_CMD_IDS_USAGE_ZSH "Shows the IDs and descriptions of matching tasks"
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
#define STRING_CMD_LOG_USAGE "Adds a new task that is already completed"
|
||||
#define STRING_CMD_LOG_NO_RECUR "You cannot log recurring tasks."
|
||||
#define STRING_CMD_LOG_NO_WAITING "保留のタスクはログできません。"
|
||||
#define STRING_CMD_LOG_LOGGED "Logged task."
|
||||
#define STRING_CMD_LOG_LOGGED "Logged task {1}."
|
||||
#define STRING_CMD_IDS_USAGE_RANGE "Shows the IDs of matching tasks, as a range"
|
||||
#define STRING_CMD_IDS_USAGE_LIST "Shows the IDs of matching tasks, in the form of a list"
|
||||
#define STRING_CMD_IDS_USAGE_ZSH "Shows the IDs and descriptions of matching tasks"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue