diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-27 05:38:06 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-27 05:38:06 -0500 |
| commit | 6b5ccdf15ac799bc190084d69ded8e38f1e79cb9 (patch) | |
| tree | bfc05e627950ee3d7dbfd847d6c4349a78535bcf /doc.go | |
| parent | Refactor tests to reduce duplication (diff) | |
| download | subcmd-6b5ccdf15ac799bc190084d69ded8e38f1e79cb9.zip | |
Add ManHelpCommand to delegate 'help' to opening man pages
Diffstat (limited to 'doc.go')
| -rw-r--r-- | doc.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ // The package provides several built-in commands: // // - HelpCommand() - Display help for all commands or a specific command +// - ManHelpCommand(prefix) - Open man pages for commands (e.g., "myapp" and "myapp-subcommand") // - CommandsCommand() - List all available command names // - FlagsCommand() - List all top-level flags // |