aboutsummaryrefslogtreecommitdiffhomepage
path: root/command/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'command/command.go')
-rw-r--r--command/command.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/command/command.go b/command/command.go
index 525dde3d..eeec135d 100644
--- a/command/command.go
+++ b/command/command.go
@@ -6,6 +6,9 @@ import (
"strings"
)
+// UsageInternal causes the command to be hidden from help text when set as the usage string.
+const UsageInternal = "internal"
+
type (
// HandlerFunc is called when matching a directly handled subcommand tree.
HandlerFunc = func(args []string) error