mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Fix #2002
This commit is contained in:
parent
f6b2a6541c
commit
254e737e00
1 changed files with 3 additions and 0 deletions
|
@ -71,7 +71,10 @@ int CmdContext::execute (std::string& output)
|
||||||
else if (words.size ()) setContext (words, out);
|
else if (words.size ()) setContext (words, out);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
listContexts (out);
|
listContexts (out);
|
||||||
|
out << "Use 'task context none' to unset the current context.";
|
||||||
|
}
|
||||||
|
|
||||||
output = out.str ();
|
output = out.str ();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue