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
This commit is contained in:
Benno Schulenberg 2014-04-27 12:19:59 +00:00
parent 43019189ca
commit c269d31854
2 changed files with 2 additions and 4 deletions

View File

@ -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.

View File

@ -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