commit 31ab29752c6bd7132df392353cfbe88ed97fd907
parent 07cb9779e4fb904e940880d477724626a268a452
Author: Ondřej Fiala <temp.xanomes@volny.cz>
Date: Sat, 2 Jul 2022 04:45:59 +0200
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
Diffstat:
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/gmnlm.c b/src/gmnlm.c
@@ -92,18 +92,19 @@ const char *help_msg =
"<url>\t\tGo to url\n"
"[N]\t\tFollow Nth link\n"
"p[N]\t\tPrint URL of Nth link\n"
- "e[N]\t\tSend URL of current page or Nth link to external default program (N is optional)\n"
- "t[N]\t\tDownload content of current page or Nth link to a temporary file (N is optional)\n"
- "b[N]\t\tJump back N entries in history (N is optional, default 1)\n"
- "f[N]\t\tJump forward N entries in history (N is optional, default 1)\n"
+ "e[N]\t\tSend URL of current page or Nth link to external default program\n"
+ "t[N]\t\tDownload content of current page or Nth link to a temporary file\n"
+ "b[N]\t\tJump back N entries in history, default 1\n"
+ "f[N]\t\tJump forward N entries in history, default 1\n"
"u\t\tNavigate one path element up\n"
+ "i\r\t\tShow MIME type parameters\n"
"H\t\tView all page history\n"
- "m [title]\t\tSave bookmark with name, uses first header as name if title is omitted\n"
+ "m [title]\t\tSave bookmark for current page (uses first header as name if title is omitted)\n"
"M\t\tBrowse bookmarks\n"
"k\t\tRemove bookmark for current page\n"
"r\t\tReload the page\n"
"s\t\tSearch via geminispace.info\n"
- "l\t\tSearch backlinks to current URI via geminispace.info\n"
+ "l\t\tSearch backlinks to current page via geminispace.info\n"
"/<text>\t\tSearch for text (POSIX regular expression)\n"
"n\t\tJump to next search match\n"
"d[N] [path]\tDownload page, or Nth link, to path\n"