Added a description to level argument
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
Richard Littauer committed
Feb 18, 2016 at 15:24 UTC
b14403a06f9154770ab96b115663327fe180e4a5
1 file changed
+4
-2
core/commands/log.go
+4
-2
@@ -41,8 +41,10 @@ output of a running daemon.
41
Arguments: []cmds.Argument{
42
// TODO use a different keyword for 'all' because all can theoretically
43
// clash with a subsystem name
44
- cmds.StringArg("subsystem", true, false, fmt.Sprintf("the subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)),
45
- cmds.StringArg("level", true, false, "One of: debug, info, warning, error, fatal, panic."),
44
+ cmds.StringArg("subsystem", true, false, fmt.Sprintf("The subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)),
45
+ cmds.StringArg("level", true, false, `The log level, with 'debug' the most verbose and 'panic' the least verbose.
46
+ One of: debug, info, warning, error, fatal, panic.
47
+ `),
48
},
49
Run: func(req cmds.Request, res cmds.Response) {
50