From 1dbca67bb4483c69a69acb930a424d6e5337e7d2 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 6 Aug 2015 07:13:41 +0200 Subject: [PATCH] CmdIDs: Replace comma with space as a separator --- src/commands/CmdIDs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdIDs.cpp b/src/commands/CmdIDs.cpp index 4c2c77f94..53896e29d 100644 --- a/src/commands/CmdIDs.cpp +++ b/src/commands/CmdIDs.cpp @@ -100,7 +100,7 @@ std::string CmdIDs::compressIds (const std::vector & ids) if (i + 1 == ids.size ()) { if (result.str ().length ()) - result << ","; + result << " "; if (range_start < range_end) result << ids[range_start] << "-" << ids[range_end]; @@ -116,7 +116,7 @@ std::string CmdIDs::compressIds (const std::vector & ids) else { if (result.str ().length ()) - result << ","; + result << " "; if (range_start < range_end) result << ids[range_start] << "-" << ids[range_end]; @@ -240,7 +240,7 @@ int CmdUUIDs::execute (std::string& output) uuids.push_back (task.get ("uuid")); std::sort (uuids.begin (), uuids.end ()); - join (output, ",", uuids); + join (output, " ", uuids); output += "\n"; context.headers.clear ();