From: Sami Kerola Date: Tue, 2 Apr 2013 19:42:54 +0000 (+0100) Subject: setterm: fix various color option argument lists X-Git-Tag: v2.23-rc2~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dc8716;p=thirdparty%2Futil-linux.git setterm: fix various color option argument lists The lists did not have correct colors in usage(). Because the usage() had to be fixed, it is best to make the output easy for translators to work with. Signed-off-by: Sami Kerola --- diff --git a/term-utils/setterm.c b/term-utils/setterm.c index 0e72cf0532..310c3fab03 100644 --- a/term-utils/setterm.c +++ b/term-utils/setterm.c @@ -678,43 +678,43 @@ usage(FILE *out) { _(" %s [options]\n"), program_invocation_short_name); fputs(_("\nOptions:\n"), out); - fputs(_(" -term \n" - " -reset\n" - " -initialize\n" - " -cursor \n" - " -repeat \n" - " -appcursorkeys \n" - " -linewrap \n" - " -default\n" - " -foreground \n" - " -background \n" - " -ulcolor \n" - " -ulcolor \n" - " -hbcolor \n" - " -hbcolor \n" - " -inversescreen \n" - " -bold \n" - " -half-bright \n" - " -blink \n" - " -reverse \n" - " -underline \n" - " -store >\n" - " -clear \n" - " -tabs < tab1 tab2 tab3 ... > (tabn = 1-160)\n" - " -clrtabs < tab1 tab2 tab3 ... > (tabn = 1-160)\n" - " -regtabs <1-160>\n" - " -blank <0-60|force|poke>\n" - " -dump <1-NR_CONSOLES>\n" - " -append <1-NR_CONSOLES>\n" - " -file dumpfilename\n" - " -msg \n" - " -msglevel <0-8>\n" - " -powersave \n" - " -powerdown <0-60>\n" - " -blength <0-2000>\n" - " -bfreq freqnumber\n" - " -version\n" - " -help\n"), out); + fputs(_(" -term \n"), out); + fputs(_(" -reset\n"), out); + fputs(_(" -initialize\n"), out); + fputs(_(" -cursor \n"), out); + fputs(_(" -repeat \n"), out); + fputs(_(" -appcursorkeys \n"), out); + fputs(_(" -linewrap \n"), out); + fputs(_(" -default\n"), out); + fputs(_(" -foreground \n"), out); + fputs(_(" -background \n"), out); + fputs(_(" -ulcolor \n"), out); + fputs(_(" -ulcolor \n"), out); + fputs(_(" -hbcolor \n"), out); + fputs(_(" -hbcolor \n"), out); + fputs(_(" -inversescreen \n"), out); + fputs(_(" -bold \n"), out); + fputs(_(" -half-bright \n"), out); + fputs(_(" -blink \n"), out); + fputs(_(" -reverse \n"), out); + fputs(_(" -underline \n"), out); + fputs(_(" -store\n"), out); + fputs(_(" -clear \n"), out); + fputs(_(" -tabs (tabn = 1-160)\n"), out); + fputs(_(" -clrtabs (tabn = 1-160)\n"), out); + fputs(_(" -regtabs <1-160>\n"), out); + fputs(_(" -blank <0-60|force|poke>\n"), out); + fputs(_(" -dump <1-NR_CONSOLES>\n"), out); + fputs(_(" -append <1-NR_CONSOLES>\n"), out); + fputs(_(" -file dumpfilename\n"), out); + fputs(_(" -msg \n"), out); + fputs(_(" -msglevel <0-8>\n"), out); + fputs(_(" -powersave \n"), out); + fputs(_(" -powerdown <0-60>\n"), out); + fputs(_(" -blength <0-2000>\n"), out); + fputs(_(" -bfreq freqnumber\n"), out); + fputs(_(" -version\n"), out); + fputs(_(" -help\n"), out); fprintf(out, USAGE_MAN_TAIL("setterm(1)"));