From b0c9bf6c8db4059bb775a55305390db553aaf5ba Mon Sep 17 00:00:00 2001 From: mrossinek Date: Sun, 24 Feb 2019 15:54:49 +0100 Subject: [PATCH] Fix #2002 --- src/commands/CmdContext.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;