Skip to content

Commit

Permalink
clarify share-route description
Browse files Browse the repository at this point in the history
  • Loading branch information
MerricdeLauney authored and a-b committed Oct 12, 2022
1 parent bad75ae commit 792ea78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions command/v7/share_route_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ type ShareRouteCommand struct {
RequireArgs flag.Domain `positional-args:"yes"`
Hostname string `long:"hostname" short:"n" description:"Hostname for the HTTP route (required for shared domains)"`
Path flag.V7RoutePath `long:"path" description:"Path for the HTTP route"`
DestinationOrg string `short:"o" description:"The org of the destination app (Default: targeted org)"` // ToDo: fix me
DestinationSpace string `short:"s" description:"The space of the destination app (Default: targeted space)"`
DestinationOrg string `short:"o" description:"The org of the destination space (Default: targeted org)"` // ToDo: fix me
DestinationSpace string `short:"s" description:"The space the route will be shared with (Default: targeted space)"`

relatedCommands interface{} `related_commands:"create-route, map-route, unmap-route, routes"`
}
Expand Down
4 changes: 2 additions & 2 deletions integration/v7/isolated/share_route_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ var _ = Describe("share route command", func() {
Eventually(session).Should(Say(`OPTIONS:`))
Eventually(session).Should(Say(`--hostname, -n\s+Hostname for the HTTP route \(required for shared domains\)`))
Eventually(session).Should(Say(`--path\s+Path for the HTTP route`))
Eventually(session).Should(Say(`-o\s+The org of the destination app \(Default: targeted org\)`))
Eventually(session).Should(Say(`-s\s+The space of the destination app \(Default: targeted space\)`))
Eventually(session).Should(Say(`-o\s+The org of the destination space \(Default: targeted org\)`))
Eventually(session).Should(Say(`-s\s+The space the route will be shared with \(Default: targeted space\)`))
Eventually(session).Should(Say(`\n`))

Eventually(session).Should(Say(`SEE ALSO:`))
Expand Down

0 comments on commit 792ea78

Please sign in to comment.