]> git.wh0rd.org Git - nano.git/commitdiff
Adding "and exit" to the description of --help, for veracity, to match
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 1 Aug 2015 08:47:38 +0000 (08:47 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Sat, 1 Aug 2015 08:47:38 +0000 (08:47 +0000)
--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
src/nano.c

index 11fc3c8b61e0ce11c5e5d6ecb4286ff053a57ea0..0f2c2747f98f43db7b7f9eed35a4bed35e0ef4f8 100644 (file)
--- 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),
index 56ec8ba33aba57a1cebac197371ab205ba2c8eb0..aff1ba57253771933d4d02416e5b5d1b0b5c5d97 100644 (file)
@@ -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"));