From e04b4208972b9aa899567bc85371eb096e13a77d Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 3 Mar 2008 03:03:11 +0100 Subject: [PATCH] Minor fixes and improvements to option strings This syncs some changes (ie. -> e.g. etc.) from elinks-0.12 or beyond. I noticed them while updating the web pages, and apologize that I will not spent the time to attribute it to the individual commits. (cherry picked from commit 2bfc7b37241b88816cb0454399ec615b8511680a, omitting generated files) --- src/protocol/http/http.c | 10 +++++----- src/protocol/rewrite/rewrite.c | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/protocol/http/http.c b/src/protocol/http/http.c index 4fa2b115..63b0fe8e 100644 --- a/src/protocol/http/http.c +++ b/src/protocol/http/http.c @@ -195,11 +195,11 @@ static struct option_info http_options[] = { "a standard for new textmode user agents, so that the webmasters can\n" "have just a single uniform test for these if they are e.g. pushing\n" "some lite version to them automagically.\n" - "%v in the string means ELinks version\n" - "%s in the string means system identification\n" - "%t in the string means size of the terminal\n" - "%b in the string means number of bars displayed by ELinks\n" - "Use \" \" if you don't want any User-Agent header to be sent at all.")), + "Use \" \" if you don't want any User-Agent header to be sent at all.\n" + "%v in the string means ELinks version,\n" + "%s in the string means system identification,\n" + "%t in the string means size of the terminal,\n" + "%b in the string means number of bars displayed by ELinks.")), INIT_OPT_TREE("protocol", N_("HTTPS"), diff --git a/src/protocol/rewrite/rewrite.c b/src/protocol/rewrite/rewrite.c index 17f238d6..df422ce3 100644 --- a/src/protocol/rewrite/rewrite.c +++ b/src/protocol/rewrite/rewrite.c @@ -98,10 +98,10 @@ static struct option_info uri_rewrite_options[] = { "(i.e. contains no '.', ':' or '/' characters), and does\n" "not match any defined prefixes. Set the value to \"\" to\n" "disable use of the default template rewrite rule.\n" - "%c in the template means the current URL\n" - "%s in the template means the whole string from the goto dialog\n" - "%0,%1,...,%9 mean the 1st,2nd,...,10th space-delimited part of %s\n" - "%% in the template means '%'")), + "%c in the template means the current URL,\n" + "%s in the template means the whole string from the goto dialog,\n" + "%0,%1,...,%9 mean the 1st,2nd,...,10th space-delimited part of %s,\n" + "%% in the template means '%'.")), #define INIT_OPT_DUMB_PREFIX(prefix, uri) \ INIT_OPT_STRING("protocol.rewrite.dumb", NULL, prefix, 0, uri, NULL) -- 2.11.4.GIT