diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-17 02:31:10 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-17 02:33:16 +0200 |
| commit | 7585a488b7b1e1812f7ebf50107139e2fd65f035 (patch) | |
| tree | 921dd87ca8b5583abe4ebfe1474e1b02fbb7365f /modes.go | |
| parent | 45d1755e9f28853186613e97b034c2020f9d98e4 (diff) | |
Diffstat (limited to 'modes.go')
| -rw-r--r-- | modes.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,6 +4,7 @@ import ( "errors" "github.com/ewy1/pik/completion" "github.com/ewy1/pik/flags" + "github.com/ewy1/pik/help" "github.com/ewy1/pik/model" "github.com/ewy1/pik/paths" "github.com/ewy1/pik/run" @@ -55,6 +56,10 @@ var uninitializedModes = ModeMap[func() error]{ flags.Completion: func() error { return completion.Echo() }, + flags.Help: func() error { + help.Echo() + return nil + }, } // statelessModes are program modes which do not require state to operate. |
