Skip to content

Commit 2cfea63

Browse files
committed
cli: remove trailing spaces from descriptions
Signed-off-by: Andrey Butusov <[email protected]>
1 parent 880612e commit 2cfea63

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

cmd/neofs-cli/modules/acl/extended/create.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Action is 'allow' or 'deny'.
2727
Operation is an object service verb: 'get', 'head', 'put', 'search', 'delete', 'getrange', or 'getrangehash'.
2828
2929
Filter consists of <typ>:<key><match><value>
30-
Typ is 'obj' for object applied filter or 'req' for request applied filter.
31-
Key is a valid unicode string corresponding to object or request header key.
30+
Typ is 'obj' for object applied filter or 'req' for request applied filter.
31+
Key is a valid unicode string corresponding to object or request header key.
3232
Well-known system object headers start with '$Object:' prefix.
3333
User defined headers start without prefix.
3434
Read more about filter keys at github.com/nspcc-dev/neofs-api/blob/master/proto-docs/acl.md#message-eaclrecordfilter
@@ -38,10 +38,10 @@ Filter consists of <typ>:<key><match><value>
3838
'>' | '>=' | '<' | '<=' for integer comparison.
3939
Value is a valid unicode string corresponding to object or request header value. Numeric filters must have base-10 integer values.
4040
41-
Target is
42-
'user' for container owner,
41+
Target is
42+
'user' for container owner,
4343
'system' for Storage nodes in container and Inner Ring nodes,
44-
'others' for all other request senders,
44+
'others' for all other request senders,
4545
'address:<adr1>,<adr2>,...' for exact request sender, where <adr> is a base58 25-byte address. Example: NSiVJYZej4XsxG5CUpdwn7VRQk8iiiDMPM.
4646
4747
When both '--rule' and '--file' arguments are used, '--rule' records will be placed higher in resulting extended ACL table.

cmd/neofs-cli/modules/container/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var (
3333
var createContainerCmd = &cobra.Command{
3434
Use: "create",
3535
Short: "Create new container",
36-
Long: `Create new container and register it in the NeoFS.
36+
Long: `Create new container and register it in the NeoFS.
3737
It will be stored in FS chain when inner ring will accepts it.`,
3838
Args: cobra.NoArgs,
3939
RunE: func(cmd *cobra.Command, _ []string) error {

cmd/neofs-cli/modules/container/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
var deleteContainerCmd = &cobra.Command{
1919
Use: "delete",
2020
Short: "Delete existing container",
21-
Long: `Delete existing container.
21+
Long: `Delete existing container.
2222
Only owner of the container has a permission to remove container.`,
2323
Args: cobra.NoArgs,
2424
RunE: func(cmd *cobra.Command, _ []string) error {

cmd/neofs-cli/modules/session/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ var createCmd = &cobra.Command{
3232
Short: "Create session token",
3333
Long: `Create session token.
3434
35-
Default lifetime of session token is ` + strconv.Itoa(defaultLifetime) + ` epochs
36-
if none of --` + commonflags.ExpireAt + ` or --` + commonflags.Lifetime + ` flags is specified.
35+
Default lifetime of session token is ` + strconv.Itoa(defaultLifetime) + ` epochs
36+
if none of --` + commonflags.ExpireAt + ` or --` + commonflags.Lifetime + ` flags is specified.
3737
`,
3838
Args: cobra.NoArgs,
3939
RunE: createSession,

pkg/util/autocomplete/autocomplete.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ Zsh:
2121
If shell completion is not already enabled in your environment you will need
2222
to enable it. You can execute the following once:
2323
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
24-
24+
2525
To load completions for each session, execute once:
2626
$ %s completion zsh > "${fpath[1]}/_%s"
27-
27+
2828
You will need to start a new shell for this setup to take effect.
2929
3030
Fish:
3131
$ %s completion fish | source
32-
32+
3333
To load completions for each session, execute once:
3434
$ %s completion fish > ~/.config/fish/completions/%s.fish
3535
`

0 commit comments

Comments
 (0)