summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/xvidtune.man6
-rw-r--r--xvidtune.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/man/xvidtune.man b/man/xvidtune.man
index 30379b6..413af99 100644
--- a/man/xvidtune.man
+++ b/man/xvidtune.man
@@ -39,6 +39,9 @@ xvidtune \- video mode tuner for __xservername__
.B -next
|
.B -unlock
+|
+.B -timeout
+.I sec
] [
.I \-toolkitoption
\&.\|.\|. ]
@@ -165,6 +168,9 @@ via hot-keys while it is running. If for some reason the program
did not exit cleanly and they are still disabled, the program can
be re-run with this option to re-enable the mode switching key
combinations.
+.TP 10
+.B \-timeout \fIsec\fP
+Set testmode timeout in seconds.
.SH SEE ALSO
.BR xrandr (__appmansuffix__),
.BR __xservername__ (__appmansuffix__),
diff --git a/xvidtune.c b/xvidtune.c
index 18b67d5..2f73bf1 100644
--- a/xvidtune.c
+++ b/xvidtune.c
@@ -1479,13 +1479,13 @@ PrevModeAction(Widget w, XEvent* e, String* vector, Cardinal* count)
static void
usage(void)
{
- fprintf(stderr, "Usage: %s [option]\n", progname);
+ fprintf(stderr, "Usage: %s [-show|-prev|-next|-unlock|-timeout <sec>] [-toolkitoption...]\n", progname);
fprintf(stderr, " where option is one of:\n");
fprintf(stderr, " -show Print current modeline to stdout\n");
fprintf(stderr, " -next Switch to next video mode\n");
fprintf(stderr, " -prev Switch to previous video mode\n");
fprintf(stderr, " -unlock Enable mode switch hot-keys\n");
- fprintf(stderr, " -timeout [seconds] Set testmode timeout in seconds,\n");
+ fprintf(stderr, " -timeout <sec> Set testmode timeout in seconds\n");
exit(1);
}