mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 15:47:19 +02:00
Bug Fix
- Fixed bug that caused '--' arguments to be swallowed during processing for rc. parameters.
This commit is contained in:
parent
8af0953b63
commit
cb1313779b
1 changed files with 4 additions and 1 deletions
|
@ -378,7 +378,10 @@ void Context::loadCorrectConfigFile ()
|
|||
foreach (arg, args)
|
||||
{
|
||||
if (*arg == "--")
|
||||
{
|
||||
foundTerminator = true;
|
||||
filtered.push_back (*arg);
|
||||
}
|
||||
else if (!foundTerminator &&
|
||||
arg->substr (0, 3) == "rc.")
|
||||
{
|
||||
|
@ -571,7 +574,7 @@ void Context::parse (
|
|||
}
|
||||
}
|
||||
|
||||
// terminated, therefore everything subsequently is a description.
|
||||
// Command is terminated, therefore everything subsequently is a description.
|
||||
else
|
||||
{
|
||||
debug ("parse post-termination description '" + *arg + "'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue