cmd/tailscale/cli: add description to exit-node CLI command

This change adds a description to the exit-node CLI command. This
description will be displayed when using `tailscale -h` and `tailscale
exit-node -h`.

Fixes #10787

Signed-off-by: Charlotte Brandhorst-Satzkorn <charlotte@tailscale.com>
pull/10897/head
Charlotte Brandhorst-Satzkorn 11 months ago committed by Charlotte Brandhorst-Satzkorn
parent 169778e23b
commit e6910974ca

@ -23,6 +23,8 @@ import (
var exitNodeCmd = &ffcli.Command{ var exitNodeCmd = &ffcli.Command{
Name: "exit-node", Name: "exit-node",
ShortUsage: "exit-node [flags]", ShortUsage: "exit-node [flags]",
ShortHelp: "Show machines on your tailnet configured as exit nodes",
LongHelp: "Show machines on your tailnet configured as exit nodes",
Subcommands: []*ffcli.Command{ Subcommands: []*ffcli.Command{
{ {
Name: "list", Name: "list",

Loading…
Cancel
Save