Skip to content

Commit d67d00d

Browse files
authored
docs: update see also section (#3200)
1 parent 573bc5a commit d67d00d

6 files changed

+6
-6
lines changed

cmd/scw/testdata/test-all-usage-baremetal-server-install-usage.golden

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ GLOBAL FLAGS:
3333

3434
SEE ALSO:
3535
# List all SSH keys
36-
scw account ssh-key list
36+
scw iam ssh-key list
3737

3838
# List OS (useful to get all OS IDs)
3939
scw baremetal os list

cmd/scw/testdata/test-all-usage-instance-image-list-usage.golden

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ GLOBAL FLAGS:
2929

3030
SEE ALSO:
3131
# List marketplace images
32-
scw marketplace list images
32+
scw marketplace image list

cmd/scw/testdata/test-all-usage-marketplace-image-list-usage.golden

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ GLOBAL FLAGS:
2222

2323
SEE ALSO:
2424
# List all images available in an account
25-
scw instance list images
25+
scw instance image list

internal/namespaces/baremetal/v1/baremetal_cli.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ func baremetalServerInstall() *core.Command {
520520
},
521521
SeeAlsos: []*core.SeeAlso{
522522
{
523-
Command: "scw account ssh-key list",
523+
Command: "scw iam ssh-key list",
524524
Short: "List all SSH keys",
525525
},
526526
{

internal/namespaces/instance/v1/instance_cli.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ func instanceImageList() *core.Command {
10331033
},
10341034
SeeAlsos: []*core.SeeAlso{
10351035
{
1036-
Command: "scw marketplace list images",
1036+
Command: "scw marketplace image list",
10371037
Short: "List marketplace images",
10381038
},
10391039
},

internal/namespaces/marketplace/v2/marketplace_cli.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func marketplaceImageList() *core.Command {
162162
}},
163163
SeeAlsos: []*core.SeeAlso{
164164
{
165-
Command: "scw instance list images",
165+
Command: "scw instance image list",
166166
Short: "List all images available in an account",
167167
},
168168
},

0 commit comments

Comments
 (0)