Commit c269d318 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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
No related merge requests found
Showing with 2 additions and 4 deletions
+2 -4
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
* src/nano.c (usage, main): Don't blurt out the full help text * 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 but just a hint when the command line contains some mistake, to
avoid drowning out the error message. 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> 2014-04-27 Mark Majeres <mark@engine12.com>
* src/rcfile.c (parse_include): Plug two tiny memory leaks. * src/rcfile.c (parse_include): Plug two tiny memory leaks.
......
...@@ -947,10 +947,6 @@ void usage(void) ...@@ -947,10 +947,6 @@ void usage(void)
#ifndef NANO_TINY #ifndef NANO_TINY
print_opt("-$", "--softwrap", N_("Enable soft line wrapping")); print_opt("-$", "--softwrap", N_("Enable soft line wrapping"));
#endif #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 /* Display the current version of nano, the date and time it was
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment