commit c269d31854f28e9f01bf90ed475bf098016561e8
parent 43019189cab08cd7a381a320ac0489bcc76ccb34
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 27 Apr 2014 12:19:59 +0000
In a concise help text, mention only those options that actually do something.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4821 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -2,6 +2,8 @@
* src/nano.c (usage, main): Don't blurt out the full help text
but just a hint when the command line contains some mistake, to
avoid drowning out the error message.
+ * src/nano.c (usage): Mention only those options that actually do
+ something. For the no-op compat flags the man page is the place.
2014-04-27 Mark Majeres <mark@engine12.com>
* src/rcfile.c (parse_include): Plug two tiny memory leaks.
diff --git a/src/nano.c b/src/nano.c
@@ -947,10 +947,6 @@ void usage(void)
#ifndef NANO_TINY
print_opt("-$", "--softwrap", N_("Enable soft line wrapping"));
#endif
-
- /* This is a special case. */
- print_opt("-a, -b, -e,", "", NULL);
- print_opt("-f, -g, -j", "", N_("(ignored, for Pico compatibility)"));
}
/* Display the current version of nano, the date and time it was