Signed-off-by: Peter Hutterer <[email protected]>
---
man/synclient.man | 2 +-
tools/synclient.c | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/man/synclient.man b/man/synclient.man
index 610b101..8169771 100644
--- a/man/synclient.man
+++ b/man/synclient.man
@@ -96,7 +96,7 @@ positions, called gdx and gdy.
.RE
.TP
\fB\-l\fR
-List current user settings.
+List current user settings. This is the default if no option is given.
.TP
\fB\-V\fR
Print version number and exit.
diff --git a/tools/synclient.c b/tools/synclient.c
index 032b129..316ae2c 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -581,6 +581,9 @@ main(int argc, char *argv[])
Display *dpy;
XDevice *dev;
+ if (argc == 1)
+ dump_settings = 1;
+
/* Parse command line parameters */
while ((c = getopt(argc, argv, "sm:hlV")) != -1) {
switch (c) {
--
1.6.5.1
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel