diff --git a/src/CLI2.cpp b/src/CLI2.cpp index f2d6eb27b..9236ce490 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -644,7 +644,7 @@ void CLI2::prepareFilter () //////////////////////////////////////////////////////////////////////////////// // Return all the MISCELLANEOUS args. -const std::vector CLI2::getWords (bool filtered) +const std::vector CLI2::getWords () { std::vector words; for (auto& a : _args) diff --git a/src/CLI2.h b/src/CLI2.h index 505d9c2f0..29818259e 100644 --- a/src/CLI2.h +++ b/src/CLI2.h @@ -77,7 +77,7 @@ public: void addFilter (const std::string& arg); void addContextFilter (); void prepareFilter (); - const std::vector getWords (bool filtered = true); + const std::vector getWords (); bool canonicalize (std::string&, const std::string&, const std::string&) const; std::string getBinary () const; std::string getCommand (bool canonical = true) const;