mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI
- Converted CmdShow from Parser to CLI.
This commit is contained in:
parent
624e5e7376
commit
68b59d1ac7
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ int CmdShow::execute (std::string& output)
|
|||
|
||||
// Obtain the arguments from the description. That way, things like '--'
|
||||
// have already been handled.
|
||||
std::vector <std::string> words = context.parser.getWords ();
|
||||
std::vector <std::string> words = context.cli.getWords ();
|
||||
if (words.size () > 1)
|
||||
throw std::string (STRING_CMD_SHOW_ARGS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue