diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-23 01:36:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-23 01:36:48 +0900 |
| commit | 647c6ea21baa28192e5c4339ed4cdf83e994036e (patch) | |
| tree | f1c0e5c757bb24c0be905951c86ba701f18cddee /command/parse_test.go | |
| parent | 416d93e8802dc4f42ce814edf874c79e2682af58 (diff) | |
command: hide internal commands
This marks commands as internal via a magic usage string.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'command/parse_test.go')
| -rw-r--r-- | command/parse_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/command/parse_test.go b/command/parse_test.go index 3174dccc..4bb924f4 100644 --- a/command/parse_test.go +++ b/command/parse_test.go @@ -289,6 +289,7 @@ func buildTestCommand(wout, wlog io.Writer) (c command.Command) { }) c.New("empty", "empty subcommand") + c.New("hidden", command.UsageInternal) c.New("join", "wraps strings.Join"). Command("out", "write result to wout", func(args []string) error { |
