From a6c4c32ed74811d3fe19afe275d7848c210f9022 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 8 Sep 2014 01:27:32 -0400 Subject: [PATCH] CmdDiagnostics - Represented the hooks master switch, rc.hooks, on the diagnostic output. --- src/commands/CmdDiagnostics.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/CmdDiagnostics.cpp b/src/commands/CmdDiagnostics.cpp index 7fe7fc0ee..591f080fd 100644 --- a/src/commands/CmdDiagnostics.cpp +++ b/src/commands/CmdDiagnostics.cpp @@ -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 hooks = context.hooks.list ();