From b14403a06f9154770ab96b115663327fe180e4a5 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Thu, 18 Feb 2016 15:24:08 -0500 Subject: [PATCH] Added a description to level argument License: MIT Signed-off-by: Richard Littauer --- core/commands/log.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/commands/log.go b/core/commands/log.go index ec53c853b21..35de3673e3c 100644 --- a/core/commands/log.go +++ b/core/commands/log.go @@ -41,8 +41,10 @@ output of a running daemon. Arguments: []cmds.Argument{ // TODO use a different keyword for 'all' because all can theoretically // clash with a subsystem name - cmds.StringArg("subsystem", true, false, fmt.Sprintf("the subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)), - cmds.StringArg("level", true, false, "One of: debug, info, warning, error, fatal, panic."), + cmds.StringArg("subsystem", true, false, fmt.Sprintf("The subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)), + cmds.StringArg("level", true, false, `The log level, with 'debug' the most verbose and 'panic' the least verbose. + One of: debug, info, warning, error, fatal, panic. + `), }, Run: func(req cmds.Request, res cmds.Response) {