diff options
Diffstat (limited to '')
-rw-r--r-- | commands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.go b/commands.go index 797878e..009bc81 100644 --- a/commands.go +++ b/commands.go @@ -438,7 +438,7 @@ func (app *App) handleInput(buffer, content string) error { cmdName, rawArgs, isCommand := parseCommand(content) if !isCommand { - return noCommand(app, buffer, content) + return noCommand(app, buffer, rawArgs) } if cmdName == "" { return fmt.Errorf("lone slash at the begining") |