mirror of
git://git.sv.gnu.org/nano.git
synced 2025-03-18 23:43:38 +03:00
usage: unabbreviate option arguments where possible
And make it clearer what kind of argument is expected: digits, characters, or a program name.
This commit is contained in:
parent
821fbf713d
commit
0f2dd8456f
12
src/nano.c
12
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 <number>"), _("--tabsize=<number>"),
|
||||
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 <str>"), _("--wordchars=<str>"),
|
||||
print_opt(_("-X <string>"), _("--wordchars=<string>"),
|
||||
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 <number>"), _("--fill=<number>"),
|
||||
N_("Set width for hard-wrap and justify"));
|
||||
#endif
|
||||
#ifdef ENABLE_SPELLER
|
||||
if (!ISSET(RESTRICTED))
|
||||
print_opt(_("-s <prog>"), _("--speller=<prog>"),
|
||||
N_("Enable alternate speller"));
|
||||
print_opt(_("-s <program>"), _("--speller=<program>"),
|
||||
N_("Use this alternative spell checker"));
|
||||
#endif
|
||||
print_opt("-t", "--saveonexit", N_("Save changes on exit, don't prompt"));
|
||||
#ifndef NANO_TINY
|
||||
|
Loading…
x
Reference in New Issue
Block a user