mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdGet: Converted form CLI to CLI2
This commit is contained in:
parent
12825c5205
commit
f6f89ac333
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.cli.getWords ();
|
std::vector <std::string> words = context.cli2.getWords (false);
|
||||||
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