commit d0cb64650b3ba0441e3b46166b0ea99a54d104b5
parent 0694255893d6acdfcca336ee158aa42155e525bf
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 1 Jul 2021 16:41:45 +0200
usage: improve the description of the --positionlog option
And make the wording for the --historylog option similar.
This fixes https://savannah.gnu.org/bugs/?60868.
Bug existed since version 2.3.0, commit 8e2a9307, since the
saving and restoring of the cursor position was introduced.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nano.c b/src/nano.c
@@ -523,7 +523,7 @@ void usage(void)
#ifdef ENABLE_HISTORIES
if (!ISSET(RESTRICTED))
print_opt("-H", "--historylog",
- N_("Log & read search/replace string history"));
+ N_("Save & reload old search/replace strings"));
#endif
#ifdef ENABLE_NANORC
print_opt("-I", "--ignorercfiles", N_("Don't look at nanorc files"));
@@ -551,7 +551,7 @@ void usage(void)
#ifdef ENABLE_HISTORIES
if (!ISSET(RESTRICTED))
print_opt("-P", "--positionlog",
- N_("Log & read location of cursor position"));
+ N_("Save & restore position of the cursor"));
#endif
#ifdef ENABLE_JUSTIFY
print_opt(_("-Q <regex>"), _("--quotestr=<regex>"),