Bug Fix
- Fixed bug that caused '--' arguments to be swallowed during processing for rc. parameters.
This commit is contained in:
@@ -378,7 +378,10 @@ void Context::loadCorrectConfigFile ()
|
|||||||
foreach (arg, args)
|
foreach (arg, args)
|
||||||
{
|
{
|
||||||
if (*arg == "--")
|
if (*arg == "--")
|
||||||
|
{
|
||||||
foundTerminator = true;
|
foundTerminator = true;
|
||||||
|
filtered.push_back (*arg);
|
||||||
|
}
|
||||||
else if (!foundTerminator &&
|
else if (!foundTerminator &&
|
||||||
arg->substr (0, 3) == "rc.")
|
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
|
else
|
||||||
{
|
{
|
||||||
debug ("parse post-termination description '" + *arg + "'");
|
debug ("parse post-termination description '" + *arg + "'");
|
||||||
|
|||||||
Reference in New Issue
Block a user