Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(account): fix a cli example #1418

Merged
merged 1 commit into from
Sep 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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