Skip to content

Commit b81e3a4

Browse files
author
Ted Young
committed
added map-domain tip back to create-domain
[finishes #62108240]
1 parent e3b1a77 commit b81e3a4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/cf/commands/application/set_env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ func (cmd *SetEnv) Run(c *cli.Context) {
7575
}
7676

7777
cmd.ui.Ok()
78-
cmd.ui.Say("TIP: Use '%s push' to ensure your env variable changes take effect", cf.Name())
78+
cmd.ui.Say("TIP: Use '%s' to ensure your env variable changes take effect", terminal.CommandColor(cf.Name()+" push"))
7979
}

src/cf/commands/application/unset_env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ func (cmd *UnsetEnv) Run(c *cli.Context) {
7373
}
7474

7575
cmd.ui.Ok()
76-
cmd.ui.Say("TIP: Use '%s push' to ensure your env variable changes take effect", cf.Name())
76+
cmd.ui.Say("TIP: Use '%s' to ensure your env variable changes take effect", terminal.CommandColor(cf.Name()+" push"))
7777
}

src/cf/commands/domain/create_domain.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package domain
22

33
import (
4+
"cf"
45
"cf/api"
56
"cf/configuration"
67
"cf/requirements"
@@ -56,4 +57,6 @@ func (cmd *CreateDomain) Run(c *cli.Context) {
5657
}
5758

5859
cmd.ui.Ok()
60+
61+
cmd.ui.Say("TIP: Use '%s' to assign it to a space", terminal.CommandColor(cf.Name()+" map-domain"))
5962
}

0 commit comments

Comments
 (0)