bombadillo/help.go

32 lines
1009 B
Go
Raw Normal View History

2020-06-21 17:16:05 +00:00
package main
// ERRS maps commands to their syntax error message
2020-06-21 17:16:05 +00:00
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]]`",
2020-06-21 17:16:05 +00:00
"BOOKMARKS": "`bookmarks [[bookmark-id]]`",
2020-11-01 10:09:41 +00:00
"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]`",
2020-11-01 14:55:46 +00:00
"VERSION": "`version`",
"?": "`? [[command]]`",
"HELP": "`help [[command]]`",
2020-06-21 17:16:05 +00:00
}