Commit c005def0 authored by Moustakas's avatar Moustakas
Browse files

Change argumnet description for ToolCommand

parent a8f3cc2c
...@@ -35,7 +35,7 @@ trait ToolCommand extends MainCommand with Logging { ...@@ -35,7 +35,7 @@ trait ToolCommand extends MainCommand with Logging {
case "error" => logger.setLevel(org.apache.log4j.Level.ERROR) case "error" => logger.setLevel(org.apache.log4j.Level.ERROR)
case _ => case _ =>
} }
} text "Log level" validate { } text "Level of log information printed. Possible levels: 'debug', 'info', 'warn', 'error'" validate {
case "debug" | "info" | "warn" | "error" => success case "debug" | "info" | "warn" | "error" => success
case _ => failure("Log level must be <debug/info/warn/error>") case _ => failure("Log level must be <debug/info/warn/error>")
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment