cmd/tailscale/cli: document how to see subcommand usage

From user feedback.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-03-09 12:04:12 -08:00
parent 387e83c8fe
commit 66480755c2
2 changed files with 6 additions and 2 deletions

View File

@@ -50,9 +50,13 @@ func Run(args []string) error {
rootCmd := &ffcli.Command{
Name: "tailscale",
ShortUsage: "tailscale subcommand [flags]",
ShortUsage: "tailscale [flags] <subcommand> [command flags]",
ShortHelp: "The easiest, most secure way to use WireGuard.",
LongHelp: strings.TrimSpace(`
For help on subcommands, add -help after: "tailscale status -help".
All flags can use single or double hyphen prefixes (-help or --help).
This CLI is still under active development. Commands and flags will
change in the future.
`),