mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
CLI2: Trim incoming raw args
This commit is contained in:
parent
bb137bba38
commit
b7c1658a6e
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ void CLI2::entity (const std::string& category, const std::string& name)
|
||||||
// Capture a single argument.
|
// Capture a single argument.
|
||||||
void CLI2::add (const std::string& argument)
|
void CLI2::add (const std::string& argument)
|
||||||
{
|
{
|
||||||
_original_args.push_back (argument);
|
_original_args.push_back (trim (argument));
|
||||||
|
|
||||||
// Adding a new argument invalidates prior analysis.
|
// Adding a new argument invalidates prior analysis.
|
||||||
_args.clear ();
|
_args.clear ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue