Bug Fix - #369 task config color.alternate does not take multiple args
- Fixed bug that meant these commands would not work:
$ task config name 'one two three'
$ task config name one two three
(thanks to Richard Querin).
This commit is contained in:
@@ -560,7 +560,15 @@ int handleConfig (std::string &outs)
|
||||
std::string value = "";
|
||||
|
||||
if (args.size () > 1)
|
||||
value = args[1];
|
||||
{
|
||||
for (unsigned int i = 1; i < args.size (); ++i)
|
||||
{
|
||||
if (i > 1)
|
||||
value += " ";
|
||||
|
||||
value += args[i];
|
||||
}
|
||||
}
|
||||
|
||||
if (name != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user