Skip to content

Commit

Permalink
Merge pull request rancher#705 from rancher-max/command_clarification
Browse files Browse the repository at this point in the history
Clarify kill command in description
  • Loading branch information
cbron committed Nov 7, 2019
2 parents 8d376bd + bfc2394 commit c6baf82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func Route(app *cli.App) cli.Command {
create := builder.Command(&Create{},
"Create a router at the end",
app.Name+" router create/add MATCH ACTION [TARGET...]",
"To append a rule at the end, run `rio router add [$NAMESPACE/]$ROUTE_NAME to|redirect|mirror|rewrite [$NAMESPACE/]$SERVICE_NAME")
"To append a rule at the end, run `rio [-n $NAMESPACE] router add $ROUTE_NAME to|redirect|mirror|rewrite $SERVICE_NAME,version=$VERSION")
create.Aliases = []string{"add"}
return cli.Command{
Name: "routers",
Expand Down
4 changes: 2 additions & 2 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ func main() {
appName+" dashboard [OPTIONS]",
""),
builder.Command(&kill.Kill{},
"Kill pods or services",
"Kill pods individually or all pods belonging to a service",
appName+" kill [SERVICE_NAME/POD_NAME]",
""),
"Specify a SERVICE_NAME to kill all pods belonging to that service. Otherwise specify a POD_NAME"),
route.Route(app),
info.Info(app),
}
Expand Down

0 comments on commit c6baf82

Please sign in to comment.