diff --git a/modules/info/info.cpp b/modules/info/info.cpp index d91e9b1..57ec7fd 100644 --- a/modules/info/info.cpp +++ b/modules/info/info.cpp @@ -86,7 +86,7 @@ extern "C" const char* dpm_get_description(void) { * @return 0 on success, non-zero on failure */ extern "C" int dpm_module_execute(const char* command, int argc, char** argv) { - dpm_log(LOG_INFO, "Info module execution started"); + dpm_log(LOG_DEBUG, "Info module execution started."); Command cmd = parse_command(command); diff --git a/modules/info/src/infoFuncs.cpp b/modules/info/src/infoFuncs.cpp index 6262c9c..78b6856 100644 --- a/modules/info/src/infoFuncs.cpp +++ b/modules/info/src/infoFuncs.cpp @@ -83,12 +83,16 @@ std::string detect_os() { * Command handler for help command */ int cmd_help(int argc, char** argv) { - dpm_log(LOG_INFO, "DPM Info Module - Provides information about the DPM system"); + dpm_log(LOG_INFO, "DPM Info Module - Provides information about the system."); + dpm_log(LOG_INFO, ""); dpm_log(LOG_INFO, "Available commands:"); + dpm_log(LOG_INFO, ""); dpm_log(LOG_INFO, " version - Display DPM version information"); dpm_log(LOG_INFO, " system - Display system information"); dpm_log(LOG_INFO, " config - Display configuration information"); dpm_log(LOG_INFO, " help - Display this help message"); + dpm_log(LOG_INFO, ""); + return 0; }