aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolio <dolio>2004-09-17 23:51:48 +0000
committerdolio <dolio>2004-09-17 23:51:48 +0000
commit76e259ed57f67c901c9f957a29bc3302dabf99e3 (patch)
treed36581baec0ea578bd6e791886f16f9846011840
parentAdded allocation failure checks in shadow_picture and caused it to exit (diff)
downloadxcman-76e259ed57f67c901c9f957a29bc3302dabf99e3.tar.gz
xcman-76e259ed57f67c901c9f957a29bc3302dabf99e3.tar.bz2
xcman-76e259ed57f67c901c9f957a29bc3302dabf99e3.tar.xz
Changed the usage function to display information on the available options.
-rw-r--r--ChangeLog5
-rw-r--r--xcompmgr.c12
2 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 556f0f0..4ee365e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2004-09-17 Dan Doel <dolio@case.edu>
+ * xcompmgr.c: (usage):
+ Changed the usage function to describe the available options.
+
+2004-09-17 Dan Doel <dolio@case.edu>
+
* xcompmgr.c: (shadow_picture):
Added some tests to check for failed pixmap/picture/gc allocations and
exit appropriately.
diff --git a/xcompmgr.c b/xcompmgr.c
index 3d27786..01a4c7e 100644
--- a/xcompmgr.c
+++ b/xcompmgr.c
@@ -1757,7 +1757,17 @@ ev_window (XEvent *ev)
void
usage (char *program)
{
- fprintf (stderr, "usage: %s [-d display] [-n] [-s] [-c] [-a] [-f] [-F] [-C]\n", program);
+ fprintf (stderr, "usage: %s [-d display] [-acCfFnsS]\n", program);
+ fprintf (stderr, "Options\n");
+ fprintf (stderr, " -d display\n Specifies which display should be managed.\n");
+ fprintf (stderr, " -a\n Use automatic server-side compositing. Faster, but no special effects.\n");
+ fprintf (stderr, " -c\n Draw client-side shadows with fuzzy edges.\n");
+ fprintf (stderr, " -C\n Avoid drawing shadows on dock/panel windows.\n");
+ fprintf (stderr, " -f\n Fade windows in/out when opening/closing.\n");
+ fprintf (stderr, " -F\n Fade windows during opacity changes.\n");
+ fprintf (stderr, " -n\n Normal client-side compositing with transparency support\n");
+ fprintf (stderr, " -s\n Draw server-side shadows with sharp edges.\n");
+ fprintf (stderr, " -S\n Enable synchronous operation (for debugging).\n");
exit (1);
}