From ace151778b87d1f239af107bc6abb748c0fcf777 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 1 Aug 2015 08:47:38 +0000 Subject: [PATCH] Adding "and exit" to the description of --help, for veracity, to match --version, and to distinguish it more from the description of ^G. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5337 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ src/nano.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 11fc3c8b..0f2c2747 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ * src/help.c (help_init): Show also the dedicated keys in the ^G help text. This helps to clarify some keys, and helps to see which ones could easily be rebound. + * src/nano.c (usage): Add "and exit" to the description of --help, + to match --version, and to distinguish it more from ^G. 2015-07-31 Benno Schulenberg * src/text.c (do_cutword, do_cut_prev_word, do_cut_next_word), diff --git a/src/nano.c b/src/nano.c index 56ec8ba3..aff1ba57 100644 --- a/src/nano.c +++ b/src/nano.c @@ -924,7 +924,7 @@ void usage(void) print_opt("-c", "--constantshow", N_("Constantly show cursor position")); print_opt("-d", "--rebinddelete", N_("Fix Backspace/Delete confusion problem")); - print_opt("-h", "--help", N_("Show this help text")); + print_opt("-h", "--help", N_("Show this help text and exit")); #ifndef NANO_TINY print_opt("-i", "--autoindent", N_("Automatically indent new lines")); print_opt("-k", "--cut", N_("Cut from cursor to end of line")); -- 2.39.5