mirror of
https://github.com/0intro/wmii
synced 2025-02-08 18:34:43 +03:00
version information is printed to stdout
This commit is contained in:
parent
ff64ccbe17
commit
0155b7b9ff
@ -14,7 +14,7 @@ It supports arbitrary, user defined menu contents.
|
||||
.SS Options
|
||||
.TP
|
||||
.B \-v
|
||||
prints version information to stderr, then exits.
|
||||
prints version information to stdout, then exits.
|
||||
.SS Usage
|
||||
.B wmiimenu
|
||||
reads a list of newline-separated items from stdin and creates a menu.
|
||||
@ -64,6 +64,4 @@ Like WMII_NORMCOLORS, but for the selected label.
|
||||
.br
|
||||
Default: #ffffff #285577 #4c7899
|
||||
.SH SEE ALSO
|
||||
.BR wmii (1),
|
||||
.BR wmiiwm (1),
|
||||
.BR wmiir (1)
|
||||
.BR wmii (1)
|
||||
|
@ -235,7 +235,7 @@ main(int argc, char *argv[])
|
||||
for(i = 1; (i < argc) && (argv[i][0] == '-'); i++) {
|
||||
switch (argv[i][1]) {
|
||||
case 'v':
|
||||
fprintf(stderr, "%s", version);
|
||||
fprintf(stdout, "%s", version);
|
||||
exit(0);
|
||||
break;
|
||||
case 'a':
|
||||
|
Loading…
x
Reference in New Issue
Block a user