Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:reeflective/console into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlandon committed Aug 16, 2023
2 parents 6ec1ce4 + e42cef4 commit e6b168c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Console struct {
// input line being ultimately provided to the command parser. This might
// be used by people who want to apply supplemental, specific processing
// on the command input line.
PreCmdRunLineHooks []func(raw []string) (args []string, err error)
PreCmdRunLineHooks []func(args []string) ([]string, error)

// PreCmdRunHooks - Once the user has entered a command, but before executing
// the target command, the console will execute every function in this list.
Expand Down

0 comments on commit e6b168c

Please sign in to comment.