Skip to content

Commit

Permalink
feat(account): fix a cli example (#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Sep 10, 2020
1 parent 0569a57 commit fe43518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USAGE:

EXAMPLES:
Add a given ssh key
scw account ssh-key add name=foobar public_key="$(cat <path/to/your/public/key>)"
scw account ssh-key add name=foobar public-key="$(cat <path/to/your/public/key>)"

ARGS:
[name] The name of the SSH key
Expand Down
2 changes: 1 addition & 1 deletion internal/namespaces/account/v2alpha1/account_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func accountSSHKeyAdd() *core.Command {
Examples: []*core.Example{
{
Short: "Add a given ssh key",
Raw: `scw account ssh-key add name=foobar public_key="$(cat <path/to/your/public/key>)"`,
Raw: `scw account ssh-key add name=foobar public-key="$(cat <path/to/your/public/key>)"`,
},
},
SeeAlsos: []*core.SeeAlso{
Expand Down

0 comments on commit fe43518

Please sign in to comment.