Skip to content

Commit 57f58c5

Browse files
authored
fix(*): fix duplicate flags definition (#1454)
1 parent 3cb688d commit 57f58c5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/root.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"github.com/formancehq/stack/libs/go-libs/bun/bunmigrate"
99
"github.com/uptrace/bun"
1010

11-
"github.com/formancehq/stack/libs/go-libs/service"
1211
"github.com/spf13/cobra"
1312
)
1413

@@ -28,7 +27,6 @@ func NewRootCommand() *cobra.Command {
2827
cobra.EnableTraverseRunHooks = true
2928

3029
cmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
31-
cmd.PersistentFlags().BoolP(service.DebugFlag, "d", false, "Debug mode")
3230
cmd.AddCommand(
3331
newServeCommand(),
3432
newVersionCommand(),

0 commit comments

Comments
 (0)