Prettify Usage and Description

This commit is contained in:
Mads Jon Nielsen 2024-04-23 08:53:32 +02:00
parent e03f53144b
commit d6b03fbabf
1 changed files with 2 additions and 2 deletions

View File

@ -402,9 +402,9 @@ func buildReadyCommand() *cli.Command {
return &cli.Command{
Name: "ready",
Action: cliutil.ConfiguredAction(readyCommand),
Usage: "Tunnel /ready exit code",
Usage: "Call /ready endpoint and returns proper exit code",
UsageText: "cloudflared tunnel [tunnel command options] ready [subcommand options]",
Description: "cloudflared tunnel ready will return proper exit code if tunnel is ready or not",
Description: "cloudflared tunnel ready will return proper exit code based on the /ready endpoint",
Flags: []cli.Flag{},
CustomHelpTemplate: commandHelpTemplate(),
}