Skip to content

Commit 6e512d3

Browse files
committed
Fix
1 parent 3fc9953 commit 6e512d3

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Wait for image to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the image.
22

33
USAGE:
4-
scw instance image wait [arg=value ...]
4+
scw instance image wait <image-id ...> [arg=value ...]
55

66
EXAMPLES:
77
Wait for a image to reach a stable state
8-
scw instance image wait image-id=11111111-1111-1111-1111-111111111111
8+
scw instance image wait 11111111-1111-1111-1111-111111111111
99

1010
ARGS:
1111
image-id ID of the image.

cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.stderr.golden

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Wait for snapshot to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the snapshot.
22

33
USAGE:
4-
scw instance snapshot wait [arg=value ...]
4+
scw instance snapshot wait <snapshot-id ...> [arg=value ...]
55

66
EXAMPLES:
77
Wait for a snapshot to reach a stable state
8-
scw instance snapshot wait snapshot-id=11111111-1111-1111-1111-111111111111
8+
scw instance snapshot wait 11111111-1111-1111-1111-111111111111
99

1010
ARGS:
1111
snapshot-id ID of the snapshot.

internal/namespaces/instance/v1/custom_image.go

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ func imageWaitCommand() *core.Command {
243243
Name: "image-id",
244244
Short: `ID of the image.`,
245245
Required: true,
246+
Positional: true,
246247
},
247248
core.ZoneArgSpec(),
248249
},

internal/namespaces/instance/v1/custom_snapshot.go

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ func snapshotWaitCommand() *core.Command {
9797
Name: "snapshot-id",
9898
Short: `ID of the snapshot.`,
9999
Required: true,
100+
Positional: true,
100101
},
101102
core.ZoneArgSpec(),
102103
},

0 commit comments

Comments
 (0)