Skip to content

Commit 9aed894

Browse files
authored
improve the istioctl waypoint status describe and example (#58482)
Signed-off-by: xin.li <[email protected]>
1 parent f4a9fd1 commit 9aed894

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

istioctl/pkg/waypoint/waypoint.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,16 @@ func Cmd(ctx cli.Context) *cobra.Command {
121121

122122
waypointStatusCmd := &cobra.Command{
123123
Use: "status",
124-
Short: "Show the status of waypoints in a namespace",
125-
Long: "Show the status of waypoints for the namespace provided or default namespace if none is provided",
124+
Short: "Show the status of waypoints",
125+
Long: "Show the status of waypoints in the cluster",
126126
Example: ` # Show the status of the waypoint in the default namespace
127127
istioctl waypoint status
128128
129129
# Show the status of the waypoint in a specific namespace
130-
istioctl waypoint status --namespace default`,
130+
istioctl waypoint status --namespace default
131+
132+
# Show the status of the waypoint in all namespaces
133+
istioctl waypoint status --all-namespaces`,
131134
Args: func(cmd *cobra.Command, args []string) error {
132135
if len(args) != 0 {
133136
return fmt.Errorf("unknown subcommand %q", args[0])

0 commit comments

Comments
 (0)