CLI2: Pseudo-args demoted to config settings

- When 'limit:N' is encountered, it is removed from the command line, and
  added as a config setting, equivalent to 'rc.limit:N'.
- This simplifieѕ subsequent command line parsing.
This commit is contained in:
Paul Beckingham
2015-09-12 09:03:15 -04:00
parent c59afe34c4
commit 84b3055690
3 changed files with 20 additions and 17 deletions

View File

@@ -81,7 +81,6 @@ public:
bool canonicalize (std::string&, const std::string&, const std::string&) const;
std::string getBinary () const;
std::string getCommand (bool canonical = true) const;
std::string getLimit () const;
const std::string dump (const std::string& title = "CLI2 Parser") const;
private: