From: Benno Schulenberg Date: Sun, 27 Apr 2014 12:19:59 +0000 (+0000) Subject: In a concise help text, mention only those options that actually do something. X-Git-Tag: v2.3.3~109 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c269d31854f28e9f01bf90ed475bf098016561e8;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index e7af9ad6..21d3d910 100644 --- 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 * src/rcfile.c (parse_include): Plug two tiny memory leaks. diff --git a/src/nano.c b/src/nano.c index 9eba7ad0..024dc285 100644 --- 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