nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ace151778b87d1f239af107bc6abb748c0fcf777
parent 45f873a6a7d54dae35d03506394884e04aab696f
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sat,  1 Aug 2015 08:47:38 +0000

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

Diffstat:
MChangeLog | 2++
Msrc/nano.c | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git 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 <bensberg@justemail.net> * src/text.c (do_cutword, do_cut_prev_word, do_cut_next_word), diff --git 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"));