- add a "-d" option, to specify the display cwm should be started on

- adjust argc/argv by optind
- add an ENVIRONMENT section to the manpage

ok matthieu@ ray@
This commit is contained in:
jasper
2007-05-10 17:23:49 +00:00
parent 8d60503290
commit 9d51a8cf84
3 changed files with 23 additions and 5 deletions

11
cwm.1
View File

@@ -10,6 +10,7 @@
.Sh SYNOPSIS
.\" For a program: program [-abc] file ...
.Nm cwm
.Op Fl d Ar display
.Op Fl s
.Op Fl f Ar fontname
.Sh DESCRIPTION
@@ -104,6 +105,8 @@ The options for
.Nm
are as follows:
.Bl -tag -width Ds
.It Fl d Ar display
Specify the display to use.
.It Fl s
Set sticky group mode on.
The default behavior for new windows is to not assign any group.
@@ -204,6 +207,14 @@ and
.Xr xlock 1 ,
respectively.
.Sh ENVIRONMENT
.TP
DISPLAY
.Nm
starts on this display unless the
.Fl d
option is given.
.Sh ACKNOWLEDGEMENTS
.Nm
contains some code from 9wm.