Skip to content

Commit 3c2277d

Browse files
committed
fix(cloud): Swap flag descriptions
Signed-off-by: Cezar Craciunoiu <[email protected]>
1 parent 813099d commit 3c2277d

File tree

1 file changed

+2
-2
lines changed
  • internal/cli/kraft/cloud/instance/stop

1 file changed

+2
-2
lines changed

internal/cli/kraft/cloud/instance/stop/stop.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
type StopOptions struct {
2525
Auth *config.AuthConfig `noattribute:"true"`
2626
Client kraftcloud.KraftCloud `noattribute:"true"`
27-
Wait time.Duration `local:"true" long:"wait" short:"w" usage:"Time to wait for the instance to drain all connections before it is stopped (ms/s/m/h)"`
28-
DrainTimeout time.Duration `local:"true" long:"drain-timeout" short:"d" usage:"Timeout for the instance to stop (ms/s/m/h)"`
27+
Wait time.Duration `local:"true" long:"wait" short:"w" usage:"Timeout for the instance to stop (ms/s/m/h)"`
28+
DrainTimeout time.Duration `local:"true" long:"drain-timeout" short:"d" usage:"Time to wait for the instance to drain all connections before it is stopped (ms/s/m/h)"`
2929
All bool `long:"all" short:"a" usage:"Stop all instances"`
3030
Force bool `long:"force" short:"f" usage:"Force stop the instance(s)"`
3131
Metro string `noattribute:"true"`

0 commit comments

Comments
 (0)