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 {
|
func NewCommands() []cli.Command {
|
||||||
var cfgFlags = []cli.Flag{
|
var cfgFlags = []cli.Flag{
|
||||||
cli.StringFlag{Name: "config-path"},
|
cli.StringFlag{Name: "config-path"},
|
||||||
cli.BoolFlag{Name: "debug, d"},
|
|
||||||
}
|
}
|
||||||
cfgFlags = append(cfgFlags, options.Network...)
|
cfgFlags = append(cfgFlags, options.Network...)
|
||||||
var cfgWithCountFlags = make([]cli.Flag, len(cfgFlags))
|
var cfgWithCountFlags = make([]cli.Flag, len(cfgFlags))
|
||||||
copy(cfgWithCountFlags, cfgFlags)
|
copy(cfgWithCountFlags, cfgFlags)
|
||||||
|
cfgFlags = append(cfgFlags, cli.BoolFlag{Name: "debug, d"})
|
||||||
|
|
||||||
cfgWithCountFlags = append(cfgWithCountFlags,
|
cfgWithCountFlags = append(cfgWithCountFlags,
|
||||||
cli.UintFlag{
|
cli.UintFlag{
|
||||||
Name: "count, c",
|
Name: "count, c",
|
||||||
|
|
Loading…
Reference in a new issue