mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdDiagnostics
- Represented the hooks master switch, rc.hooks, on the diagnostic output.
This commit is contained in:
parent
78650ac8c3
commit
a6c4c32ed7
1 changed files with 3 additions and 0 deletions
|
@ -293,6 +293,9 @@ int CmdDiagnostics::execute (std::string& output)
|
||||||
|
|
||||||
// Disaply hook status.
|
// Disaply hook status.
|
||||||
out << bold.colorize (STRING_CMD_DIAG_HOOKS)
|
out << bold.colorize (STRING_CMD_DIAG_HOOKS)
|
||||||
|
<< "\n"
|
||||||
|
<< " Scripts: "
|
||||||
|
<< (context.config.getBoolean ("hooks") ? "Enabled" : "Disabled")
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
std::vector <std::string> hooks = context.hooks.list ();
|
std::vector <std::string> hooks = context.hooks.list ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue