From bb4e26955a82344d5e732a538a849a106b346827 Mon Sep 17 00:00:00 2001 From: Tias Guns Date: Thu, 3 Jan 2013 22:35:37 +0100 Subject: [PATCH] document --no-timeout in man (and shorten descr in stdout) --- man/xinput_calibrator.1 | 4 ++++ src/main_common.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/man/xinput_calibrator.1 b/man/xinput_calibrator.1 index 5a2f16f..e0d84a6 100644 --- a/man/xinput_calibrator.1 +++ b/man/xinput_calibrator.1 @@ -51,6 +51,10 @@ This is useful if the calibration values are stored in your xorg.conf, but the d set the misclick threshold (0=off, default: 15 pixels) .PP .TP 8 +.B \-\-no-timeout +turns off the timeout +.PP +.TP 8 .B \-\-output\-type \fIauto|xorg.conf.d|hal|xinput\fP type of config to ouput (auto=automatically detect, default: auto) .PP diff --git a/src/main_common.cpp b/src/main_common.cpp index b305cd7..f840e3d 100644 --- a/src/main_common.cpp +++ b/src/main_common.cpp @@ -179,7 +179,7 @@ static void usage(char* cmd, unsigned thr_misclick) fprintf(stderr, "\t--output-type : type of config to ouput (auto=automatically detect, default: auto)\n"); fprintf(stderr, "\t--fake: emulate a fake device (for testing purposes)\n"); fprintf(stderr, "\t--geometry: manually provide the geometry (width and height) for the calibration window\n"); - fprintf(stderr, "\t--no-timeout: turns off the timeout if parameter pressent\n"); + fprintf(stderr, "\t--no-timeout: turns off the timeout\n"); } Calibrator* Calibrator::make_calibrator(int argc, char** argv)