diff --git a/cmd/neofs-cli/modules/control.go b/cmd/neofs-cli/modules/control.go index 8be2e8813..49de17d74 100644 --- a/cmd/neofs-cli/modules/control.go +++ b/cmd/neofs-cli/modules/control.go @@ -18,6 +18,9 @@ var controlCmd = &cobra.Command{ Use: "control", Short: "Operations with storage node", Long: `Operations with storage node`, + PersistentPreRun: func(cmd *cobra.Command, args []string) { + bindCommonFlags(cmd) + }, } var healthCheckCmd = &cobra.Command{