cli: provide more explanations for node options
This commit is contained in:
parent
3e147a3fc9
commit
1367d0df00
2 changed files with 5 additions and 5 deletions
|
@ -43,12 +43,12 @@ var (
|
|||
// NewCommands returns 'node' command.
|
||||
func NewCommands() []cli.Command {
|
||||
var cfgFlags = []cli.Flag{
|
||||
cli.StringFlag{Name: "config-path"},
|
||||
cli.StringFlag{Name: "config-path", Usage: "path to directory with configuration files"},
|
||||
}
|
||||
cfgFlags = append(cfgFlags, options.Network...)
|
||||
var cfgWithCountFlags = make([]cli.Flag, len(cfgFlags))
|
||||
copy(cfgWithCountFlags, cfgFlags)
|
||||
cfgFlags = append(cfgFlags, cli.BoolFlag{Name: "debug, d"})
|
||||
cfgFlags = append(cfgFlags, cli.BoolFlag{Name: "debug, d", Usage: "enable debug logging (LOTS of output)"})
|
||||
|
||||
cfgWithCountFlags = append(cfgWithCountFlags,
|
||||
cli.UintFlag{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue