From 150353d88f855185ca91350295a62fc954820106 Mon Sep 17 00:00:00 2001 From: Jean-Marcel Flach Date: Wed, 25 Feb 2015 15:39:17 +0100 Subject: [PATCH] Remove --include-objects option from troubleshoot for now --- lib/cli/troubleshootcommand.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/cli/troubleshootcommand.cpp b/lib/cli/troubleshootcommand.cpp index 1afc3cffe..f3b318a6b 100644 --- a/lib/cli/troubleshootcommand.cpp +++ b/lib/cli/troubleshootcommand.cpp @@ -46,7 +46,7 @@ String TroubleshootCommand::GetDescription(void) const String TroubleshootCommand::GetShortDescription(void) const { - return "Collect information for troubleshooting"; + return "collect information for troubleshooting"; } class TroubleshootCommand::InfoLog @@ -375,6 +375,7 @@ bool TroubleshootCommand::CheckConfig(void) return DaemonUtility::ValidateConfigFiles(configs, Application::GetObjectsPath()); } +//print is supposed allow the user to print the object file void TroubleshootCommand::CheckObjectFile(const String& objectfile, InfoLog& log, const bool print, Dictionary::Ptr& logs, std::set& configs) { @@ -404,7 +405,7 @@ void TroubleshootCommand::CheckObjectFile(const String& objectfile, InfoLog& log continue; std::stringstream sStream; - + ObjectListUtility::PrintObject(sStream, first, message, type_count, "", ""); Dictionary::Ptr object = JsonDecode(message); @@ -497,7 +498,7 @@ void TroubleshootCommand::InitParameters(boost::program_options::options_descrip visibleDesc.add_options() ("console,c", "print to console instead of file") ("output,o", boost::program_options::value(), "path to output file") - ("include-objects", "Print the whole objectfile (like `object list`)") +// ("include-objects", "Print the whole objectfile (like `object list`)") TODO ; } -- 2.40.0