? as an alias for "help"

This commit is contained in:
tjp 2024-01-10 11:03:40 -07:00
parent a69742c81c
commit aa46d49b89
1 changed files with 2 additions and 0 deletions

View File

@ -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{