nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ffeb0f9d4bb38d99b6ae69a17448db9017cf360c
parent 10c909394276cda1a43cc7bf312391e7d57237e6
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun, 23 Oct 2016 22:00:45 +0200

tweaks: don't spread a statement over multiple lines unnecessarily

Diffstat:
Msrc/nano.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -797,13 +797,11 @@ void print_opt_full(const char *shortflag void usage(void) { printf(_("Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]...\n\n")); - printf( #ifdef HAVE_GETOPT_LONG - _("Option\t\tGNU long option\t\tMeaning\n") + printf(_("Option\t\tGNU long option\t\tMeaning\n")); #else - _("Option\t\tMeaning\n") + printf(_("Option\t\tMeaning\n")); #endif - ); print_opt(_("+LINE,COLUMN"), "", /* TRANSLATORS: The next forty or so strings are option descriptions * for the --help output. Try to keep them at most 40 characters. */