From 0f2dd8456fa268f45c6c94e6845cfd9e77a08b54 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 14 May 2020 17:27:15 +0200 Subject: [PATCH] usage: unabbreviate option arguments where possible And make it clearer what kind of argument is expected: digits, characters, or a program name. --- src/nano.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/nano.c b/src/nano.c index f41b66c4..3dfc5e12 100644 --- a/src/nano.c +++ b/src/nano.c @@ -500,14 +500,14 @@ void usage(void) #ifndef NANO_TINY print_opt("-S", "--softwrap", N_("Display overlong lines on multiple rows")); #endif - print_opt(_("-T <#cols>"), _("--tabsize=<#cols>"), - N_("Set width of a tab to #cols columns")); + print_opt(_("-T "), _("--tabsize="), + N_("Make a tab this number of columns wide")); print_opt("-U", "--quickblank", N_("Wipe status bar upon next keystroke")); print_opt("-V", "--version", N_("Print version information and exit")); #ifndef NANO_TINY print_opt("-W", "--wordbounds", N_("Detect word boundaries more accurately")); - print_opt(_("-X "), _("--wordchars="), + print_opt(_("-X "), _("--wordchars="), N_("Which other characters are word parts")); #endif #ifdef ENABLE_COLOR @@ -554,13 +554,13 @@ void usage(void) #endif print_opt("-p", "--preserve", N_("Preserve XON (^Q) and XOFF (^S) keys")); #ifdef ENABLED_WRAPORJUSTIFY - print_opt(_("-r <#cols>"), _("--fill=<#cols>"), + print_opt(_("-r "), _("--fill="), N_("Set width for hard-wrap and justify")); #endif #ifdef ENABLE_SPELLER if (!ISSET(RESTRICTED)) - print_opt(_("-s "), _("--speller="), - N_("Enable alternate speller")); + print_opt(_("-s "), _("--speller="), + N_("Use this alternative spell checker")); #endif print_opt("-t", "--saveonexit", N_("Save changes on exit, don't prompt")); #ifndef NANO_TINY