cli: db dump/restore commands have no --debug flag
This commit is contained in:
parent
1518019be8
commit
3e147a3fc9
1 changed files with 2 additions and 1 deletions
|
@ -44,11 +44,12 @@ var (
|
|||
func NewCommands() []cli.Command {
|
||||
var cfgFlags = []cli.Flag{
|
||||
cli.StringFlag{Name: "config-path"},
|
||||
cli.BoolFlag{Name: "debug, d"},
|
||||
}
|
||||
cfgFlags = append(cfgFlags, options.Network...)
|
||||
var cfgWithCountFlags = make([]cli.Flag, len(cfgFlags))
|
||||
copy(cfgWithCountFlags, cfgFlags)
|
||||
cfgFlags = append(cfgFlags, cli.BoolFlag{Name: "debug, d"})
|
||||
|
||||
cfgWithCountFlags = append(cfgWithCountFlags,
|
||||
cli.UintFlag{
|
||||
Name: "count, c",
|
||||
|
|
Loading…
Reference in a new issue