Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion command/plugin/repo_plugins_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
type RepoPluginsCommand struct {
RegisteredRepository string `short:"r" description:"Name of a registered repository"`
usage interface{} `usage:"CF_NAME repo-plugins [-r REPO_NAME]\n\nEXAMPLES:\n CF_NAME repo-plugins -r PrivateRepo"`
relatedCommands interface{} `related_commands:"add-plugin-repo, delete-plugin-repo, install-plugin"`
relatedCommands interface{} `related_commands:"add-plugin-repo, remove-plugin-repo, install-plugin"`
}

func (RepoPluginsCommand) Setup(config command.Config, ui command.UI) error {
Expand Down
2 changes: 1 addition & 1 deletion command/v7/buildpacks_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type BuildpacksCommand struct {
BaseCommand

usage interface{} `usage:"CF_NAME buildpacks [--labels SELECTOR] [--lifecycle buildpack|cnb]\n\nEXAMPLES:\n CF_NAME buildpacks\n CF_NAME buildpacks --labels 'environment in (production,staging),tier in (backend)'\n CF_NAME buildpacks --labels 'env=dev,!chargeback-code,tier in (backend,worker)'\n CF_NAME buildpacks --lifecycle cnb"`
relatedCommands interface{} `related_commands:"create-buildpack, delete-buildpack, rename-buildpack, update-buildpack"`
relatedCommands interface{} `related_commands:"create-buildpack, delete-buildpack, update-buildpack"`
Labels string `long:"labels" description:"Selector to filter buildpacks by labels"`
Lifecycle string `long:"lifecycle" description:"Filter buildpacks by lifecycle ('buildpack' or 'cnb')"`
}
Expand Down
2 changes: 1 addition & 1 deletion command/v7/delete_orphaned_routes_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type DeleteOrphanedRoutesCommand struct {

usage interface{} `usage:"CF_NAME delete-orphaned-routes [-f]\n"`
Force bool `short:"f" description:"Force deletion without confirmation"`
relatedCommands interface{} `related_commands:"delete-routes, routes"`
relatedCommands interface{} `related_commands:"delete-route, routes"`
}

func (cmd DeleteOrphanedRoutesCommand) Execute(args []string) error {
Expand Down
2 changes: 1 addition & 1 deletion command/v7/stacks_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type StacksCommand struct {
BaseCommand

usage interface{} `usage:"CF_NAME stacks [--labels SELECTOR]\n\nEXAMPLES:\n CF_NAME stacks\n CF_NAME stacks --labels 'environment in (production,staging),tier in (backend)'\n CF_NAME stacks --labels 'env=dev,!chargeback-code,tier in (backend,worker)'"`
relatedCommands interface{} `related_commands:"create-buildpack, delete-buildpack, rename-buildpack, stack, update-buildpack"`
relatedCommands interface{} `related_commands:"create-buildpack, delete-buildpack, stack, update-buildpack"`
Labels string `long:"labels" description:"Selector to filter stacks by labels"`
}

Expand Down
2 changes: 1 addition & 1 deletion integration/v7/isolated/buildpacks_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var _ = Describe("buildpacks command", func() {
Eventually(session).Should(Say("OPTIONS:"))
Eventually(session).Should(Say(`--labels\s+Selector to filter buildpacks by labels`))
Eventually(session).Should(Say("SEE ALSO:"))
Eventually(session).Should(Say("create-buildpack, delete-buildpack, rename-buildpack, update-buildpack"))
Eventually(session).Should(Say("create-buildpack, delete-buildpack, update-buildpack"))
Eventually(session).Should(Exit(0))
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var _ = Describe("delete-orphaned-routes command", func() {
Eventually(session).Should(Say(`\n`))

Eventually(session).Should(Say(`SEE ALSO:`))
Eventually(session).Should(Say(`delete-routes, routes`))
Eventually(session).Should(Say(`delete-route, routes`))

Eventually(session).Should(Exit(0))
})
Expand Down
2 changes: 1 addition & 1 deletion integration/v7/isolated/stacks_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var _ = Describe("stacks command", func() {
Eventually(session).Should(Say("OPTIONS:"))
Eventually(session).Should(Say(`--labels\s+Selector to filter stacks by labels`))
Eventually(session).Should(Say("SEE ALSO:"))
Eventually(session).Should(Say("create-buildpack, delete-buildpack, rename-buildpack, stack, update-buildpack"))
Eventually(session).Should(Say("create-buildpack, delete-buildpack, stack, update-buildpack"))
Eventually(session).Should(Exit(0))
})
})
Expand Down
Loading