CmdLog: Display the UUID of the logged task
This commit is contained in:
committed by
Paul Beckingham
parent
889e36116c
commit
7ba98ea241
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user