Skip to content

Commit 56ed6cd

Browse files
authored
Update help message for restart-app-instance command (#3127)
1 parent cabb448 commit 56ed6cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

command/common/command_list_v7.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ type commandList struct {
125125
Rollback v7.RollbackCommand `command:"rollback" description:"Rollback to the specified revision of an app"`
126126
StagePackage v7.StagePackageCommand `command:"stage-package" alias:"stage" description:"Stage a package into a droplet"`
127127
Restart v7.RestartCommand `command:"restart" alias:"rs" description:"Stop all instances of the app, then start them again."`
128-
RestartAppInstance v7.RestartAppInstanceCommand `command:"restart-app-instance" description:"Terminate, then instantiate an app instance"`
128+
RestartAppInstance v7.RestartAppInstanceCommand `command:"restart-app-instance" description:"Stop, then start application instance without updating application environment"`
129129
RouterGroups v7.RouterGroupsCommand `command:"router-groups" description:"List router groups"`
130130
Route v7.RouteCommand `command:"route" alias:"ro" description:"Display route details and mapped destinations"`
131131
Routes v7.RoutesCommand `command:"routes" alias:"r" description:"List all routes in the current space or the current organization"`

integration/v7/isolated/restart_app_instance_command_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ var _ = Describe("restart-app-instance command", func() {
3030
It("appears in cf help -a", func() {
3131
session := helpers.CF("help", "-a")
3232
Eventually(session).Should(Exit(0))
33-
Expect(session).To(HaveCommandInCategoryWithDescription("restart-app-instance", "APPS", "Terminate, then instantiate an app instance"))
33+
Expect(session).To(HaveCommandInCategoryWithDescription("restart-app-instance", "APPS", "Stop, then start application instance without updating application environment"))
3434
})
3535

3636
It("Displays command usage to output", func() {
3737
session := helpers.CF("restart-app-instance", "--help")
3838
Eventually(session).Should(Say("NAME:"))
39-
Eventually(session).Should(Say("restart-app-instance - Terminate, then instantiate an app instance"))
39+
Eventually(session).Should(Say("restart-app-instance - Stop, then start application instance without updating application environment"))
4040
Eventually(session).Should(Say("USAGE:"))
4141
Eventually(session).Should(Say(`cf restart-app-instance APP_NAME INDEX [--process PROCESS]`))
4242
Eventually(session).Should(Say(`OPTIONS:`))

0 commit comments

Comments
 (0)