CLI2: Added ::getWords and ::getCommand variations

- ::getWords (false) now returns an unfiltered list of command line args,
  specifically any rc.<name>:<value> or rc:<file> args are left uninterpreted.
- ::getCommand (false) now returns the raw command, not the canonical command.
This commit is contained in:
Paul Beckingham
2015-06-17 04:14:37 -04:00
parent cbf20217dc
commit 12825c5205
2 changed files with 13 additions and 21 deletions

View File

@@ -94,11 +94,10 @@ public:
void applyOverrides ();
const std::string getFilter (bool applyContext = true);
*/
const std::vector <std::string> getWords ();
const std::vector <std::string> getWords (bool filtered = true);
bool canonicalize (std::string&, const std::string&, const std::string&) const;
std::string getBinary () const;
std::string getCommand () const;
std::string getCommandRaw () const;
std::string getCommand (bool canonical = true) const;
/*
std::string getLimit () const;
*/