Skip to content

Commit 5972540

Browse files
committed
TUN-7332: Remove legacy tunnel force flag
1 parent 5e37a65 commit 5972540

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmd/cloudflared/tunnel/subcommands.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@ var (
9595
Usage: "Inverts the sort order of the tunnel list.",
9696
EnvVars: []string{"TUNNEL_LIST_INVERT_SORT"},
9797
}
98-
forceFlag = altsrc.NewBoolFlag(&cli.BoolFlag{
99-
Name: "force",
100-
Aliases: []string{"f"},
101-
Usage: "By default, if a tunnel is currently being run from a cloudflared, you can't " +
102-
"simultaneously rerun it again from a second cloudflared. The --force flag lets you " +
103-
"overwrite the previous tunnel. If you want to use a single hostname with multiple " +
104-
"tunnels, you can do so with Cloudflare's Load Balancer product.",
105-
})
10698
featuresFlag = altsrc.NewStringSliceFlag(&cli.StringSliceFlag{
10799
Name: "features",
108100
Aliases: []string{"F"},
@@ -616,7 +608,6 @@ func renderOutput(format string, v interface{}) error {
616608

617609
func buildRunCommand() *cli.Command {
618610
flags := []cli.Flag{
619-
forceFlag,
620611
credentialsFileFlag,
621612
credentialsContentsFlag,
622613
postQuantumFlag,

0 commit comments

Comments
 (0)