mirror of
https://git.sr.ht/~sircmpwn/gmni
synced 2024-11-23 04:51:59 +01:00
gmnlm: tidy up help message
* make marking of mandatory arguments consistent * document the 'i' command * don't document commands explained by the prompt * unify alignment * minor wording adjustments
This commit is contained in:
parent
861d2e2cbf
commit
584544ff7f
29
src/gmnlm.c
29
src/gmnlm.c
@ -74,22 +74,19 @@ const char *default_bookmarks =
|
|||||||
|
|
||||||
const char *help_msg =
|
const char *help_msg =
|
||||||
"The following commands are available:\n\n"
|
"The following commands are available:\n\n"
|
||||||
"q\tQuit\n"
|
"q\r\t\tQuit\n"
|
||||||
"N\tFollow Nth link (where N is a number)\n"
|
"<N>\r\t\tFollow Nth link\n"
|
||||||
"p[N]\tShow URL of Nth link (where N is a number)\n"
|
"p<N>\r\t\tShow URL of Nth link\n"
|
||||||
"b[N]\tJump back N entries in history, N is optional, default 1\n"
|
"b[N]\r\t\tJump back N entries in history, default is 1\n"
|
||||||
"f[N]\tJump forward N entries in history, N is optional, default 1\n"
|
"f[N]\r\t\tJump forward N entries in history, default is 1\n"
|
||||||
"H\tView all page history\n"
|
"H\r\t\tView all page history\n"
|
||||||
"m [title]\tSave bookmark\n"
|
"m [title]\r\t\tSave bookmark\n"
|
||||||
"M\tBrowse bookmarks\n"
|
"M\r\t\tBrowse bookmarks\n"
|
||||||
"r\tReload the page\n"
|
"r\r\t\tReload the page\n"
|
||||||
"d[N] [path]\tDownload page, or Nth link, to path\n"
|
"i\r\t\tShow MIME type parameters\n"
|
||||||
"[N]|<prog>\tPipe page, or Nth link, into program\n"
|
"d[N] [path]\r\t\tDownload page, or Nth link, to path\n"
|
||||||
"\n"
|
"[N]|<prog>\r\t\tPipe page, or Nth link, into program\n"
|
||||||
"Other commands include:\n\n"
|
"/<regex>\r\t\tSearch for regular expression (POSIX ERE)\n"
|
||||||
"<Enter>\tread more lines\n"
|
|
||||||
"<url>\tgo to url\n"
|
|
||||||
"/<text>\tsearch for text (POSIX regular expression)\n"
|
|
||||||
;
|
;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user