From 3e147a3fc9dcf4d7ba77a19fea65851a7e927cb7 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 5 Aug 2022 15:59:23 +0300 Subject: [PATCH] cli: db dump/restore commands have no --debug flag --- cli/server/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/server/server.go b/cli/server/server.go index 571fe9733..173a46f6f 100644 --- a/cli/server/server.go +++ b/cli/server/server.go @@ -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",