From f353e1f3d5c150f5ce282c85a4f4e6c154678e2d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 14 Oct 2014 23:40:13 -0400 Subject: [PATCH] CLI - Removed reset of _program on ::add, which never gets restored. --- src/CLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CLI.cpp b/src/CLI.cpp index e76048db1..deebed165 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -96,10 +96,10 @@ void CLI::initialize (int argc, const char** argv) } //////////////////////////////////////////////////////////////////////////////// +// Capture a single argument, and recalc everything. void CLI::add (const std::string& arg) { // Clean what needs to be cleaned. Most in this case. - _program = ""; _args.clear (); _rc = ""; _overrides.clear ();