summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCharlotte Brandhorst-Satzkorn <charlotte@tailscale.com>2024-01-12 09:26:04 -0800
committerCharlotte Brandhorst-Satzkorn <46385858+catzkorn@users.noreply.github.com>2024-01-12 10:06:09 -0800
commite6910974ca9fea8b1c685c29242e75fa09151d4e (patch)
treec164a2e069a2f904e8a0d5ae2982c2dc2a19c1d8
parent169778e23bb8e315b1cdfcb54d9d59daace4a57d (diff)
downloadtailscale-e6910974ca9fea8b1c685c29242e75fa09151d4e.tar.xz
tailscale-e6910974ca9fea8b1c685c29242e75fa09151d4e.zip
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>
-rw-r--r--cmd/tailscale/cli/exitnode.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/tailscale/cli/exitnode.go b/cmd/tailscale/cli/exitnode.go
index 60fc8dc86..77e2453d0 100644
--- a/cmd/tailscale/cli/exitnode.go
+++ b/cmd/tailscale/cli/exitnode.go
@@ -23,6 +23,8 @@ import (
var exitNodeCmd = &ffcli.Command{
Name: "exit-node",
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{
{
Name: "list",