Diagnostics

- Added server info to the diagnostics command output.
This commit is contained in:
Paul Beckingham 2012-10-06 09:05:20 -04:00
parent ce2f7054f7
commit 5a9810a423
2 changed files with 28 additions and 24 deletions

View file

@ -95,6 +95,9 @@ int CmdDiagnostics::execute (std::string& output)
#else
STRING_CMD_DIAG_UNKNOWN
#endif
<< "\n"
<< STRING_CMD_DIAG_SERVER << ": "
<< context.config.get ("taskd.server")
<< "\n\n";
// Compiler.

View file

@ -433,6 +433,7 @@
#define STRING_CMD_DIAG_UUID_SCAN "Scanned {1} tasks for duplicate UUIDs:"
#define STRING_CMD_DIAG_UUID_DUP "Found duplicate {1}"
#define STRING_CMD_DIAG_UUID_NO_DUP "No duplicates found"
#define STRING_CMD_DIAG_SERVER "Task Server"
#define STRING_CMD_DIAG_NONE "-none-"
#define STRING_CMD_PUSH_USAGE "Pushes the local files to the URL"
#define STRING_CMD_PUSH_SAME "Cannot push files when the source and destination are the same."