File: help.go

package info (click to toggle)
bombadillo 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 412 kB
  • sloc: makefile: 59
file content (31 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package main

// ERRS maps commands to their syntax error message
var ERRS = map[string]string{
	"A":         "`a [target] [name...]`",
	"ADD":       "`add [target] [name...]`",
	"D":         "`d [bookmark-id]`",
	"DELETE":    "`delete [bookmark-id]`",
	"B":         "`b [[bookmark-id]]`",
	"BOOKMARKS": "`bookmarks [[bookmark-id]]`",
	"C":         "`c [link_id]` or `c [setting]`",
	"CHECK":     "`check [link_id]` or `check [setting]`",
	"H":         "`h`",
	"HOME":      "`home`",
	"J":         "`j [[history_position]]`",
	"JUMP":      "`jump [[history_position]]`",
	"P":         "`p [host]`",
	"PURGE":     "`purge [host]`",
	"Q":         "`q`",
	"QUIT":      "`quit`",
	"R":         "`r`",
	"RELOAD":    "`reload`",
	"SEARCH":    "`search [[keyword(s)...]]`",
	"S":         "`s [setting] [value]`",
	"SET":       "`set [setting] [value]`",
	"W":         "`w [target]`",
	"WRITE":     "`write [target]`",
	"VERSION":   "`version`",
	"?":         "`? [[command]]`",
	"HELP":      "`help [[command]]`",
}