Skip to content

Commit

Permalink
fix(cloud): Swap flag descriptions
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Sep 5, 2024
1 parent 813099d commit 3c2277d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cli/kraft/cloud/instance/stop/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
type StopOptions struct {
Auth *config.AuthConfig `noattribute:"true"`
Client kraftcloud.KraftCloud `noattribute:"true"`
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)"`
DrainTimeout time.Duration `local:"true" long:"drain-timeout" short:"d" usage:"Timeout for the instance to stop (ms/s/m/h)"`
Wait time.Duration `local:"true" long:"wait" short:"w" usage:"Timeout for the instance to stop (ms/s/m/h)"`
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)"`
All bool `long:"all" short:"a" usage:"Stop all instances"`
Force bool `long:"force" short:"f" usage:"Force stop the instance(s)"`
Metro string `noattribute:"true"`
Expand Down

0 comments on commit 3c2277d

Please sign in to comment.