1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 17:03:58 +08:00

Merge pull request #2362 from ipfs/feature/add-level-arg-desc

Added a description to level argument
This commit is contained in:
Jeromy Johnson
2016-02-18 17:30:51 -08:00

View File

@ -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) {