TUN-3292: Mention cleanup in tunnel run help.

This commit is contained in:
Adam Chalmers 2020-09-08 16:43:47 -05:00
parent 4a8597c245
commit 3be2545ad4
1 changed files with 6 additions and 2 deletions

View File

@ -302,8 +302,12 @@ func buildRunCommand() *cli.Command {
Action: cliutil.ErrorHandler(runCommand), Action: cliutil.ErrorHandler(runCommand),
Usage: "Proxy a local web server by running the given tunnel", Usage: "Proxy a local web server by running the given tunnel",
ArgsUsage: "TUNNEL-ID", ArgsUsage: "TUNNEL-ID",
Hidden: hideSubcommands, Description: "Runs the tunnel, creating a high-availability connection between your server and the Cloudflare " +
Flags: []cli.Flag{forceFlag, credentialsFileFlag}, "edge. This command requires the tunnel credentials file created when `cloudflared tunnel create` was run, but " +
"does not require the cert.pem from `cloudflared login`. If you experience problems running the tunnel, " +
"`cloudflared tunnel cleanup` may help by removing any old connection records.",
Hidden: hideSubcommands,
Flags: []cli.Flag{forceFlag, credentialsFileFlag},
} }
} }