cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

cloudflared service install - clarify help text

Open Vortexmind opened this issue 5 years ago • 1 comments

Using cloudflared on ubuntu

$ cloudflared version
cloudflared version 2020.12.0 (built 2020-12-08-2302 UTC)

Issue

When passing a config file to the cloudflared service install command, the help test shows the following

USAGE:
   cloudflared service install [command options] [arguments...]

OPTIONS:
   --legacy    Generate service file for non-named tunnels (default: false)
   --help, -h  show help (default: false)

However the --config option (not listed in the contextual help) must be typed immediately after cloudflared , for example

cloudflared --config ~/.cloudflared/my-config.yml service install

Recommended solution

Clarify the contextual help to show the correct for the --config option, in line with the documentation.

Vortexmind avatar Jan 04 '21 17:01 Vortexmind

closing this for the time being

abracchi-tw avatar Feb 01 '21 16:02 abracchi-tw