commit 8634e67bd90234dfb357ce09dcaab86718cd6775
parent 379b2fd1d2f545d8b863b3930200900fce1cd326
Author: Ondřej Fiala <temp.xanomes@volny.cz>
Date: Tue, 25 Jan 2022 17:16:57 +0100
gmnlm: d <path> -> d [path]
The argument is optional, the 'd' command works without it.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gmnlm.c b/src/gmnlm.c
@@ -102,7 +102,7 @@ const char *help_msg =
"l\t\tSearch backlinks to current URI via geminispace.info\n"
"/<text>\t\tSearch for text (POSIX regular expression)\n"
"n\t\tJump to next search match\n"
- "d <path>\tDownload page to <path>\n"
+ "d [path>\tDownload page to path\n"
"|<prog>\t\tPipe page into program\n"
"[N]|<prog>\tPipe content of Nth link into program\n"
"a\t\tToggle usage of alt text instead of preformatted text\n"
@@ -1180,7 +1180,7 @@ display_response(struct browser *browser, struct gemini_response *resp)
if (strncmp(resp->meta, "text/", 5) == 0) {
return display_plaintext(browser, resp);
}
- fprintf(stderr, "Media type %s is unsupported, use \"d <path>\" to download this page\n",
+ fprintf(stderr, "Media type %s is unsupported, use \"d [path]\" to download this page\n",
resp->meta);
return false;
}