From 5972540efad55cadd64f1c400d52f59e516ad899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveirinha?= Date: Wed, 5 Apr 2023 16:13:59 +0100 Subject: [PATCH] TUN-7332: Remove legacy tunnel force flag --- cmd/cloudflared/tunnel/subcommands.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cmd/cloudflared/tunnel/subcommands.go b/cmd/cloudflared/tunnel/subcommands.go index 1ae11222..c7684e87 100644 --- a/cmd/cloudflared/tunnel/subcommands.go +++ b/cmd/cloudflared/tunnel/subcommands.go @@ -95,14 +95,6 @@ var ( Usage: "Inverts the sort order of the tunnel list.", EnvVars: []string{"TUNNEL_LIST_INVERT_SORT"}, } - forceFlag = altsrc.NewBoolFlag(&cli.BoolFlag{ - Name: "force", - Aliases: []string{"f"}, - Usage: "By default, if a tunnel is currently being run from a cloudflared, you can't " + - "simultaneously rerun it again from a second cloudflared. The --force flag lets you " + - "overwrite the previous tunnel. If you want to use a single hostname with multiple " + - "tunnels, you can do so with Cloudflare's Load Balancer product.", - }) featuresFlag = altsrc.NewStringSliceFlag(&cli.StringSliceFlag{ Name: "features", Aliases: []string{"F"}, @@ -616,7 +608,6 @@ func renderOutput(format string, v interface{}) error { func buildRunCommand() *cli.Command { flags := []cli.Flag{ - forceFlag, credentialsFileFlag, credentialsContentsFlag, postQuantumFlag,