CmdDiagnostics

- Represented the hooks master switch, rc.hooks, on the diagnostic output.
This commit is contained in:
Paul Beckingham 2014-09-08 01:27:32 -04:00
parent 78650ac8c3
commit a6c4c32ed7

View file

@ -293,6 +293,9 @@ int CmdDiagnostics::execute (std::string& output)
// Disaply hook status.
out << bold.colorize (STRING_CMD_DIAG_HOOKS)
<< "\n"
<< " Scripts: "
<< (context.config.getBoolean ("hooks") ? "Enabled" : "Disabled")
<< "\n";
std::vector <std::string> hooks = context.hooks.list ();