diff options
Diffstat (limited to 'command.go')
| -rw-r--r-- | command.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -206,8 +206,8 @@ func parseTourArgs(line string) ([]string, error) { return fields, nil } case 's': - if strings.HasPrefix("set", fields[0]) { - fields[0] = "set" + if strings.HasPrefix("select", fields[0]) { + fields[0] = "select" if len(fields) == 1 { return append(fields, ""), nil } @@ -275,6 +275,8 @@ func RunCommand(conf *Config, cmd *Command, state *BrowserState) error { return Up(state, conf) case "go": return Go(state, cmd.Args[0], conf) + case "help": + return Help(state, cmd.Args[0]) case "pipe": return Pipe(state, cmd.Args[0]) case "print": |
