Context: Do not apply context for the export command
This commit is contained in:
committed by
Paul Beckingham
parent
4eb70e68b7
commit
1465bcb918
@@ -532,10 +532,13 @@ void CLI::applyOverrides ()
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Extract all the FILTER-tagged items.
|
||||
const std::string CLI::getFilter ()
|
||||
const std::string CLI::getFilter (bool applyContext /* = true */)
|
||||
{
|
||||
// Handle context setting
|
||||
addContextFilter ();
|
||||
// Commands that don't want to respect current context should leverage
|
||||
// the applyContext argument
|
||||
if (applyContext)
|
||||
addContextFilter ();
|
||||
|
||||
std::string filter = "";
|
||||
if (_args.size ())
|
||||
|
||||
Reference in New Issue
Block a user