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
master
Benno Schulenberg 2015-08-01 08:47:38 +00:00
parent 45f873a6a7
commit ace151778b
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@
* src/help.c (help_init): Show also the dedicated keys in the * src/help.c (help_init): Show also the dedicated keys in the
^G help text. This helps to clarify some keys, and helps to ^G help text. This helps to clarify some keys, and helps to
see which ones could easily be rebound. 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> 2015-07-31 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_cutword, do_cut_prev_word, do_cut_next_word), * src/text.c (do_cutword, do_cut_prev_word, do_cut_next_word),

View File

@ -924,7 +924,7 @@ void usage(void)
print_opt("-c", "--constantshow", N_("Constantly show cursor position")); print_opt("-c", "--constantshow", N_("Constantly show cursor position"));
print_opt("-d", "--rebinddelete", print_opt("-d", "--rebinddelete",
N_("Fix Backspace/Delete confusion problem")); 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 #ifndef NANO_TINY
print_opt("-i", "--autoindent", N_("Automatically indent new lines")); print_opt("-i", "--autoindent", N_("Automatically indent new lines"));
print_opt("-k", "--cut", N_("Cut from cursor to end of line")); print_opt("-k", "--cut", N_("Cut from cursor to end of line"));