From 0126f185311d14309b3390ff7a9587ee6162d0b0 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 8 Oct 2021 16:42:40 +0300 Subject: [PATCH] [#886] cli: Fix RPC flags for control service Signed-off-by: Alex Vanin --- cmd/neofs-cli/modules/control.go | 3 +++ 1 file changed, 3 insertions(+) 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{