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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user