diff options
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. |
