summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-18 13:27:10 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-18 13:56:14 -0700
commit6deca4cb7bd0293760d0f1e3678387d74ca72251 (patch)
tree438f361f1b783327d0e68da2b8502d7df72192dd /man
parent7e24793ede11649a412413ff2567bf20670ba4ef (diff)
Add -help [options|tests|all] and remove tests from default usage message
Previously, the error message when giving a bad option was over 350 lines long. This moves the list of tests out into the `-help tests` option and makes the usage error message a much more reasonable 32 lines long. (Also accepts but does not document --help.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
Diffstat (limited to 'man')
-rw-r--r--man/x11perf.man12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/x11perf.man b/man/x11perf.man
index dccc476..a6471c7 100644
--- a/man/x11perf.man
+++ b/man/x11perf.man
@@ -260,6 +260,18 @@ Set the backing_store window attribute to the given value on all windows
created by x11perf. <backing_store_hint> can be WhenMapped or
Always. Default is NotUseful.
.TP 14
+.B \-help [options|tests|all]
+Print information about available options and exit.
+If no argument is specified, or \fBoptions\fR is specified, just prints
+information about general options, but does not include the long list of
+options for running specific tests.
+If \fBtests\fR is specified, just prints the long list of options for
+running specific tests.
+If \fBall\fR is specified, prints information about both sets of options.
+If \fB-v\fR\fIversion\fR is also specified, the list of options for
+running specific tests will be limited to the tests for that version.
+.SS Options for running specific tests
+.TP 14
.B \-dot
Dot.
.TP 14