mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +02:00
CLI
- Converted CmdGet from Parser to CLI.
This commit is contained in:
parent
07336450a9
commit
30f46ca5e7
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ int CmdGet::execute (std::string& output)
|
||||||
{
|
{
|
||||||
// Obtain the arguments from the description. That way, things like '--'
|
// Obtain the arguments from the description. That way, things like '--'
|
||||||
// have already been handled.
|
// have already been handled.
|
||||||
std::vector <std::string> words = context.parser.getWords ();
|
std::vector <std::string> words = context.cli.getWords ();
|
||||||
if (words.size () == 0)
|
if (words.size () == 0)
|
||||||
throw std::string (STRING_CMD_GET_NO_DOM);
|
throw std::string (STRING_CMD_GET_NO_DOM);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue