mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI: Removed overly complex handling of terminator in ::findOverrides.
This commit is contained in:
parent
1281dfbf22
commit
207048514d
1 changed files with 2 additions and 5 deletions
|
@ -781,16 +781,13 @@ void CLI::findOverrides ()
|
||||||
{
|
{
|
||||||
bool changes = false;
|
bool changes = false;
|
||||||
std::string raw;
|
std::string raw;
|
||||||
bool terminated = false;
|
|
||||||
for (auto& a : _args)
|
for (auto& a : _args)
|
||||||
{
|
{
|
||||||
raw = a.attribute ("raw");
|
raw = a.attribute ("raw");
|
||||||
|
|
||||||
if (raw == "--")
|
if (raw == "--")
|
||||||
terminated = true;
|
break;
|
||||||
|
|
||||||
if (terminated)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (isRCOverride (raw))
|
if (isRCOverride (raw))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue