diff --git a/src/commands/CmdHelp.cpp b/src/commands/CmdHelp.cpp index 1941428d..04c9fcec 100644 --- a/src/commands/CmdHelp.cpp +++ b/src/commands/CmdHelp.cpp @@ -60,9 +60,22 @@ int CmdHelp (const std::vector & args, Log& log) { // Ruler 1 2 3 4 5 6 7 8 // 12345678901234567890123456789012345678901234567890123456789012345678901234567890 - if (args[2] == "log") + if (args[2] == "diagnostics") std::cout << "\n" - << "timew log []\n" + << "Syntax: timew diagnostics\n" + << "\n" + << "This command shows details about your version of Timewarrior, platform, how it\n" + << "was built, compiler features, configuration, file access, extensions and more.\n" + << "\n" + << "The purpose of this command is to help diagnose configuration problems, and\n" + << "provide supplemental information when reporting a problem.\n" + << "\n"; + + // Ruler 1 2 3 4 5 6 7 8 + // 12345678901234567890123456789012345678901234567890123456789012345678901234567890 + else if (args[2] == "log") + std::cout << "\n" + << "Syntax: timew log []\n" << "\n" << "Writes the info to the Timewarrior log file. The may be\n" << "multiple words, or a quoted string. If is ommitted, writes a cut\n"