forked from TrueCloudLab/frostfs-node
[#1821] neofs-cli: Fix description of cli commands
1. nodeinfo - updated description of node. 2. eacl - fixed misprint. Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
This commit is contained in:
parent
0a411908ee
commit
5284ac53f9
3 changed files with 4 additions and 3 deletions
|
@ -17,6 +17,7 @@ Changelog for NeoFS Node
|
||||||
- Allow to evacuate shard data with `EvacuateShard` control RPC (#1800)
|
- Allow to evacuate shard data with `EvacuateShard` control RPC (#1800)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- Description of command `netmap nodeinfo` (#1821)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Remove WIF and NEP2 support in `neofs-cli`'s --wallet flag (#1128)
|
- Remove WIF and NEP2 support in `neofs-cli`'s --wallet flag (#1128)
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
var getExtendedACLCmd = &cobra.Command{
|
var getExtendedACLCmd = &cobra.Command{
|
||||||
Use: "get-eacl",
|
Use: "get-eacl",
|
||||||
Short: "Get extended ACL table of container",
|
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) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
id := parseContainerID(cmd)
|
id := parseContainerID(cmd)
|
||||||
pk := key.GetOrGenerate(cmd)
|
pk := key.GetOrGenerate(cmd)
|
||||||
|
|
|
@ -15,8 +15,8 @@ const nodeInfoJSONFlag = commonflags.JSON
|
||||||
|
|
||||||
var nodeInfoCmd = &cobra.Command{
|
var nodeInfoCmd = &cobra.Command{
|
||||||
Use: "nodeinfo",
|
Use: "nodeinfo",
|
||||||
Short: "Get local node info",
|
Short: "Get target node info",
|
||||||
Long: `Get local node info`,
|
Long: `Get target node info`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
p := key.GetOrGenerate(cmd)
|
p := key.GetOrGenerate(cmd)
|
||||||
cli := internalclient.GetSDKClientByFlag(cmd, p, commonflags.RPC)
|
cli := internalclient.GetSDKClientByFlag(cmd, p, commonflags.RPC)
|
||||||
|
|
Loading…
Reference in a new issue