usage: unabbreviate option arguments where possible
And make it clearer what kind of argument is expected: digits, characters, or a program name.master
parent
821fbf713d
commit
0f2dd8456f
12
src/nano.c
12
src/nano.c
|
@ -500,14 +500,14 @@ void usage(void)
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
print_opt("-S", "--softwrap", N_("Display overlong lines on multiple rows"));
|
print_opt("-S", "--softwrap", N_("Display overlong lines on multiple rows"));
|
||||||
#endif
|
#endif
|
||||||
print_opt(_("-T <#cols>"), _("--tabsize=<#cols>"),
|
print_opt(_("-T <number>"), _("--tabsize=<number>"),
|
||||||
N_("Set width of a tab to #cols columns"));
|
N_("Make a tab this number of columns wide"));
|
||||||
print_opt("-U", "--quickblank", N_("Wipe status bar upon next keystroke"));
|
print_opt("-U", "--quickblank", N_("Wipe status bar upon next keystroke"));
|
||||||
print_opt("-V", "--version", N_("Print version information and exit"));
|
print_opt("-V", "--version", N_("Print version information and exit"));
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
print_opt("-W", "--wordbounds",
|
print_opt("-W", "--wordbounds",
|
||||||
N_("Detect word boundaries more accurately"));
|
N_("Detect word boundaries more accurately"));
|
||||||
print_opt(_("-X <str>"), _("--wordchars=<str>"),
|
print_opt(_("-X <string>"), _("--wordchars=<string>"),
|
||||||
N_("Which other characters are word parts"));
|
N_("Which other characters are word parts"));
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_COLOR
|
#ifdef ENABLE_COLOR
|
||||||
|
@ -554,13 +554,13 @@ void usage(void)
|
||||||
#endif
|
#endif
|
||||||
print_opt("-p", "--preserve", N_("Preserve XON (^Q) and XOFF (^S) keys"));
|
print_opt("-p", "--preserve", N_("Preserve XON (^Q) and XOFF (^S) keys"));
|
||||||
#ifdef ENABLED_WRAPORJUSTIFY
|
#ifdef ENABLED_WRAPORJUSTIFY
|
||||||
print_opt(_("-r <#cols>"), _("--fill=<#cols>"),
|
print_opt(_("-r <number>"), _("--fill=<number>"),
|
||||||
N_("Set width for hard-wrap and justify"));
|
N_("Set width for hard-wrap and justify"));
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_SPELLER
|
#ifdef ENABLE_SPELLER
|
||||||
if (!ISSET(RESTRICTED))
|
if (!ISSET(RESTRICTED))
|
||||||
print_opt(_("-s <prog>"), _("--speller=<prog>"),
|
print_opt(_("-s <program>"), _("--speller=<program>"),
|
||||||
N_("Enable alternate speller"));
|
N_("Use this alternative spell checker"));
|
||||||
#endif
|
#endif
|
||||||
print_opt("-t", "--saveonexit", N_("Save changes on exit, don't prompt"));
|
print_opt("-t", "--saveonexit", N_("Save changes on exit, don't prompt"));
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
|
|
Loading…
Reference in New Issue