diff --git a/src/commands/CmdContext.cpp b/src/commands/CmdContext.cpp index 55482067f..b1a15dc36 100644 --- a/src/commands/CmdContext.cpp +++ b/src/commands/CmdContext.cpp @@ -71,7 +71,10 @@ int CmdContext::execute (std::string& output) else if (words.size ()) setContext (words, out); } else + { listContexts (out); + out << "Use 'task context none' to unset the current context."; + } output = out.str (); return 0;