1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-08 20:10:25 +08:00

AUTH-1139: refactored cloudflared help menu

This commit is contained in:
Austin Cherry
2018-09-20 11:02:50 -05:00
committed by Areg Harutyunyan
parent 653f000294
commit c10852a5e3
2 changed files with 292 additions and 243 deletions

View File

@@ -46,8 +46,9 @@ func main() {
app.Copyright = fmt.Sprintf(`(c) %d Cloudflare Inc.
Use is subject to the license agreement at %s`, time.Now().Year(), licenseUrl)
app.Version = fmt.Sprintf("%s (built %s)", Version, BuildTime)
app.Description = `cloudflared connects your machine (virtual or otherwise) to Cloudflare's global network.
You can use it to route web traffic to this machine, configure powerful access control, and more.`
app.Description = `cloudflared connects your machine or user identity to Cloudflare's global network.
You can use it to authenticate a session to reach an API behind Access, route web traffic to this machine,
and configure access control.`
app.Flags = flags()
app.Action = action(Version, shutdownC, graceShutdownC)
app.Before = before(app.Flags)