CmdCustom: Respect report.<name>.context configuration variable

This allows the user to configure if a specific report should (or should
not) adhere to the currently active context.

Closes #2560.
This commit is contained in:
Tomas Babej
2021-08-20 20:17:50 -04:00
parent c195c59494
commit ab29ef8326
3 changed files with 17 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ class CmdCustom : public Command
{
public:
CmdCustom (const std::string&, const std::string&, const std::string&);
bool uses_context () const override;
int execute (std::string&);
private: