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:
Wilhelm Schuermann 2015-07-29 19:08:57 +02:00
parent 4b9c2c4743
commit d3a3769ad4

View file

@ -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."