mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context: Make "context define" show usage info
- TW-1570 requested a "Do you want to set context $name now?" prompt when defining a context; this does the next best thing and shows how to activate the context right away.
This commit is contained in:
parent
4b9c2c4743
commit
d3a3769ad4
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@
|
|||
#define STRING_CMD_CONFIG_NO_NAME "Specify the name of a config variable to modify."
|
||||
#define STRING_CMD_HCONFIG_USAGE "Lists all supported configuration variables, for completion purposes"
|
||||
#define STRING_CMD_CONTEXT_USAGE "Set and define contexts (default filters)"
|
||||
#define STRING_CMD_CONTEXT_DEF_SUCC "Context '{1}' defined."
|
||||
#define STRING_CMD_CONTEXT_DEF_SUCC "Context '{1}' defined. Use 'task context {1}' to activate."
|
||||
#define STRING_CMD_CONTEXT_DEF_FAIL "Context '{1}' not defined."
|
||||
#define STRING_CMD_CONTEXT_DEF_USAG "Both context name and its definition must be provided."
|
||||
#define STRING_CMD_CONTEXT_DEF_ABRT "Context definition aborted."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue