summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'command.go')
-rw-r--r--command.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.go b/command.go
index 734aa6e..d994866 100644
--- a/command.go
+++ b/command.go
@@ -128,6 +128,8 @@ func ParseCommand(line string) (*Command, error) {
Name: "pipe",
Args: []string{strings.TrimSpace(line[1:])},
}, nil
+ case '?':
+ return &Command{Name: "help", Args: []string{""}}, nil
case 's':
if strings.HasPrefix("save", cmd) {
return &Command{