mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- Converted CmdColumns from Parser to CLI.
This commit is contained in:
parent
b3c89ae6f8
commit
d84b738940
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ int CmdColumns::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 () > 1)
|
if (words.size () > 1)
|
||||||
throw std::string (STRING_CMD_COLUMNS_ARGS);
|
throw std::string (STRING_CMD_COLUMNS_ARGS);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue