From 5284ac53f906a0c1abd8f487245e077fa688c07a Mon Sep 17 00:00:00 2001 From: Vladimir Domnich Date: Wed, 28 Sep 2022 12:46:23 +0400 Subject: [PATCH] [#1821] neofs-cli: Fix description of cli commands 1. nodeinfo - updated description of node. 2. eacl - fixed misprint. Signed-off-by: Vladimir Domnich --- CHANGELOG.md | 1 + cmd/neofs-cli/modules/container/get_eacl.go | 2 +- cmd/neofs-cli/modules/netmap/nodeinfo.go | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf88105e8..915015539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Changelog for NeoFS Node - Allow to evacuate shard data with `EvacuateShard` control RPC (#1800) ### Fixed +- Description of command `netmap nodeinfo` (#1821) ### Removed - Remove WIF and NEP2 support in `neofs-cli`'s --wallet flag (#1128) diff --git a/cmd/neofs-cli/modules/container/get_eacl.go b/cmd/neofs-cli/modules/container/get_eacl.go index 23ee36a51..46fdf71ff 100644 --- a/cmd/neofs-cli/modules/container/get_eacl.go +++ b/cmd/neofs-cli/modules/container/get_eacl.go @@ -13,7 +13,7 @@ import ( var getExtendedACLCmd = &cobra.Command{ Use: "get-eacl", Short: "Get extended ACL table of container", - Long: `Get extended ACL talbe of container`, + Long: `Get extended ACL table of container`, Run: func(cmd *cobra.Command, args []string) { id := parseContainerID(cmd) pk := key.GetOrGenerate(cmd) diff --git a/cmd/neofs-cli/modules/netmap/nodeinfo.go b/cmd/neofs-cli/modules/netmap/nodeinfo.go index 2a747dea6..7ff94f6c1 100644 --- a/cmd/neofs-cli/modules/netmap/nodeinfo.go +++ b/cmd/neofs-cli/modules/netmap/nodeinfo.go @@ -15,8 +15,8 @@ const nodeInfoJSONFlag = commonflags.JSON var nodeInfoCmd = &cobra.Command{ Use: "nodeinfo", - Short: "Get local node info", - Long: `Get local node info`, + Short: "Get target node info", + Long: `Get target node info`, Run: func(cmd *cobra.Command, args []string) { p := key.GetOrGenerate(cmd) cli := internalclient.GetSDKClientByFlag(cmd, p, commonflags.RPC)