Adding conforming documentation of the commandline color support.
This commit is contained in:
parent
53a43774db
commit
7a15235114
16
tabbed.1
16
tabbed.1
|
@ -14,6 +14,14 @@ tabbed \- generic tabbed interface
|
||||||
.IR name ]
|
.IR name ]
|
||||||
.RB [ \-p
|
.RB [ \-p
|
||||||
.IR [ s +/- ] pos ]
|
.IR [ s +/- ] pos ]
|
||||||
|
.RB [ \-t
|
||||||
|
.IR selbgcol ]
|
||||||
|
.RB [ \-T
|
||||||
|
.IR selfgcol ]
|
||||||
|
.RB [ \-u
|
||||||
|
.IR normbgcol ]
|
||||||
|
.RB [ \-U
|
||||||
|
.IR normfgcol ]
|
||||||
.RB [ \-r
|
.RB [ \-r
|
||||||
.IR narg ]
|
.IR narg ]
|
||||||
.IR [ command ... ]
|
.IR [ command ... ]
|
||||||
|
@ -70,19 +78,19 @@ with the window id, rather than appending it to the end.
|
||||||
.B \-s
|
.B \-s
|
||||||
will disable automatic spawning of the command.
|
will disable automatic spawning of the command.
|
||||||
.TP
|
.TP
|
||||||
.BI \-t " color"
|
.BI \-t " selbgcol"
|
||||||
defines the selected background color.
|
defines the selected background color.
|
||||||
.IR #RGB ,
|
.IR #RGB ,
|
||||||
.IR #RRGGBB ,
|
.IR #RRGGBB ,
|
||||||
and X color names are supported.
|
and X color names are supported.
|
||||||
.TP
|
.TP
|
||||||
.BI \-T " color"
|
.BI \-T " selfgbcol"
|
||||||
defines the selected foreground color.
|
defines the selected foreground color.
|
||||||
.TP
|
.TP
|
||||||
.BI \-u " color"
|
.BI \-u " normbgcol"
|
||||||
defines the normal background color.
|
defines the normal background color.
|
||||||
.TP
|
.TP
|
||||||
.BI \-U " color"
|
.BI \-U " normfgcol"
|
||||||
defines the normal foreground color.
|
defines the normal foreground color.
|
||||||
.TP
|
.TP
|
||||||
.B \-v
|
.B \-v
|
||||||
|
|
10
tabbed.c
10
tabbed.c
|
@ -1240,11 +1240,6 @@ main(int argc, char *argv[]) {
|
||||||
case 's':
|
case 's':
|
||||||
doinitspawn = False;
|
doinitspawn = False;
|
||||||
break;
|
break;
|
||||||
case 'v':
|
|
||||||
die("tabbed-"VERSION", © 2009-2012"
|
|
||||||
" tabbed engineers, see LICENSE"
|
|
||||||
" for details.\n");
|
|
||||||
break;
|
|
||||||
case 't':
|
case 't':
|
||||||
selbgcolor = EARGF(usage());
|
selbgcolor = EARGF(usage());
|
||||||
break;
|
break;
|
||||||
|
@ -1257,6 +1252,11 @@ main(int argc, char *argv[]) {
|
||||||
case 'U':
|
case 'U':
|
||||||
normfgcolor = EARGF(usage());
|
normfgcolor = EARGF(usage());
|
||||||
break;
|
break;
|
||||||
|
case 'v':
|
||||||
|
die("tabbed-"VERSION", © 2009-2012"
|
||||||
|
" tabbed engineers, see LICENSE"
|
||||||
|
" for details.\n");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
case 'h':
|
case 'h':
|
||||||
usage();
|
usage();
|
||||||
|
|
Loading…
Reference in a new issue