summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'command.go')
-rw-r--r--command.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/command.go b/command.go
index 46390da..5862a57 100644
--- a/command.go
+++ b/command.go
@@ -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":