Skip to content
Open
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/v7/delete_orphaned_routes_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v7
type DeleteOrphanedRoutesCommand struct {
BaseCommand

usage interface{} `usage:"CF_NAME delete-orphaned-routes [-f]\n"`
usage interface{} `usage:"CF_NAME delete-orphaned-routes [-f]"`
Force bool `short:"f" description:"Force deletion without confirmation"`
relatedCommands interface{} `related_commands:"delete-route, routes"`
}
Expand Down
2 changes: 1 addition & 1 deletion command/v7/delete_service_broker_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type DeleteServiceBrokerCommand struct {
BaseCommand

RequiredArgs flag.ServiceBroker `positional-args:"yes"`
usage interface{} `usage:"CF_NAME delete-service-broker SERVICE_BROKER [-f]\n\n"`
usage interface{} `usage:"CF_NAME delete-service-broker SERVICE_BROKER [-f]"`
Force bool `short:"f" description:"Force deletion without confirmation"`
relatedCommands interface{} `related_commands:"delete-service, purge-service-offering, service-brokers"`
}
Expand Down
4 changes: 2 additions & 2 deletions command/v7/update_buildpack_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"code.cloudfoundry.org/cli/v8/actor/v7action"
"code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccerror"
"code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccv3"
"code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccversion"
"code.cloudfoundry.org/cli/v8/api/cloudcontroller/ccversion"
"code.cloudfoundry.org/cli/v8/command"
"code.cloudfoundry.org/cli/v8/command/flag"
"code.cloudfoundry.org/cli/v8/command/translatableerror"
Expand All @@ -28,7 +28,7 @@ type UpdateBuildpackCommand struct {
BaseCommand

RequiredArgs flag.BuildpackName `positional-args:"Yes"`
usage interface{} `usage:"CF_NAME update-buildpack BUILDPACK [-p PATH | -s STACK | --assign-stack NEW_STACK] [-i POSITION] [--rename NEW_NAME] [--enable|--disable] [--lock|--unlock]\n\nTIP:\nWhen using the 'buildpack' lifecycle type, Path should be a zip file, a url to a zip file, or a local directory. When using the 'cnb' lifecycle, Path should be a cnb file or gzipped oci image. Position is a positive integer, sets priority, and is sorted from lowest to highest.\n\nUse '--assign-stack' with caution. Associating a buildpack with a stack that it does not support may result in undefined behavior. Additionally, changing this association once made may require a local copy of the buildpack.\n\n"`
usage interface{} `usage:"CF_NAME update-buildpack BUILDPACK [-p PATH | -s STACK | --assign-stack NEW_STACK] [-i POSITION] [--rename NEW_NAME] [--enable|--disable] [--lock|--unlock]\n\nTIP:\nWhen using the 'buildpack' lifecycle type, Path should be a zip file, a url to a zip file, or a local directory. When using the 'cnb' lifecycle, Path should be a cnb file or gzipped oci image. Position is a positive integer, sets priority, and is sorted from lowest to highest.\n\nUse '--assign-stack' with caution. Associating a buildpack with a stack that it does not support may result in undefined behavior. Additionally, changing this association once made may require a local copy of the buildpack."`
relatedCommands interface{} `related_commands:"buildpacks, create-buildpack, delete-buildpack"`
NewStack string `long:"assign-stack" description:"Assign a stack to a buildpack that does not have a stack association"`
Disable bool `long:"disable" description:"Disable the buildpack from being used for staging"`
Expand Down
Loading