~sircmpwn/gmni-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] gmnlm: d <path> -> d [path]

Details
Message ID
<20220125161657.6770-1-temp.xanomes@volny.cz>
DKIM signature
pass
Download raw message
Patch: +2 -2
The argument is optional, the 'd' command works without it.
---
 src/gmnlm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gmnlm.c b/src/gmnlm.c
index 3160327..b27cf6a 100644
--- a/src/gmnlm.c
+++ b/src/gmnlm.c
@@ -83,7 +83,7 @@ const char *help_msg =
	"m [title]\tSave bookmark\n"
	"M\tBrowse bookmarks\n"
	"r\tReload the page\n"
	"d <path>\tDownload page to <path>\n"
	"d [path]\tDownload page to path\n"
	"|<prog>\tPipe page into program\n"
	"\n"
	"Other commands include:\n\n"
@@ -1056,7 +1056,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;
}
-- 
2.34.1
Details
Message ID
<CHFFJC4BD7DA.1EIXM9YOTHHAL@taiga>
In-Reply-To
<20220125161657.6770-1-temp.xanomes@volny.cz> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks!

To git@git.sr.ht:~sircmpwn/gmni
   b31e655..4f04fb4  master -> master
Reply to thread Export thread (mbox)