mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
Merge pull request #2362 from ipfs/feature/add-level-arg-desc
Added a description to level argument
This commit is contained in:
@ -41,8 +41,10 @@ output of a running daemon.
|
|||||||
Arguments: []cmds.Argument{
|
Arguments: []cmds.Argument{
|
||||||
// TODO use a different keyword for 'all' because all can theoretically
|
// TODO use a different keyword for 'all' because all can theoretically
|
||||||
// clash with a subsystem name
|
// clash with a subsystem name
|
||||||
cmds.StringArg("subsystem", true, false, fmt.Sprintf("the subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)),
|
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("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) {
|
Run: func(req cmds.Request, res cmds.Response) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user