aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/worker/worker.cxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index b9eeeb2..b32dbed 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -398,9 +398,6 @@ build (size_t argc, const char* argv[])
// Return command arguments for the specified step id. Arguments with more
// specific prefixes come last.
//
- // @@ When CLI will support <name>=<value> option notation the splitting
- // become redundant.
- //
auto step_args = [&step_id_str] (const std::multimap<string, string>& args,
step_id step) -> strings
{
@@ -415,18 +412,7 @@ build (size_t argc, const char* argv[])
args.equal_range (n == string::npos ? s : string (s, 0, n)));
for (auto i (range.first); i != range.second; ++i)
- {
- const string& a (i->second);
-
- size_t p;
- if (a[0] == '-' && (p = a.find ('=')) != string::npos)
- {
- r.emplace_back (a, 0, p);
- r.emplace_back (a, p + 1);
- }
- else
- r.emplace_back (a);
- }
+ r.emplace_back (i->second);
if (n == string::npos)
break;