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:
Paul Beckingham
2010-02-05 18:22:36 -05:00
parent 0642c37c04
commit 73d6e05c0e
3 changed files with 21 additions and 2 deletions

View File

@@ -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 != "")
{