cli: db dump/restore commands have no --debug flag

This commit is contained in:
Roman Khimov 2022-08-05 15:59:23 +03:00
parent 1518019be8
commit 3e147a3fc9

View file

@ -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",