summaryrefslogtreecommitdiff
path: root/test/cairo-test-trace.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-10-02 16:50:37 -0700
committerAndrea Canciani <ranma42@gmail.com>2011-11-12 20:49:08 +0100
commitc8b5d270f6a9f36e14d6e1462dfd589475926be8 (patch)
treed8d9445a3196288dfa05f04075fc30b12af28b14 /test/cairo-test-trace.c
parent6a0ba303035997fcd5f28bcd32297f9bc21bd45a (diff)
downloadcairo-c8b5d270f6a9f36e14d6e1462dfd589475926be8.tar.gz
Improve the documentation of the flags
Some utilities were providing incorrect or incomplete usage information.
Diffstat (limited to 'test/cairo-test-trace.c')
-rw-r--r--test/cairo-test-trace.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/cairo-test-trace.c b/test/cairo-test-trace.c
index 89ef6516b..fdc8a62e7 100644
--- a/test/cairo-test-trace.c
+++ b/test/cairo-test-trace.c
@@ -1527,17 +1527,16 @@ static void
usage (const char *argv0)
{
fprintf (stderr,
-"Usage: %s [-x exclude-file] [test-names ... | traces ...]\n"
-" %s -l\n"
+"Usage: %s [-l] [-x exclude-file] [test-names ... | traces ...]\n"
"\n"
"Run the cairo test suite over the given traces (all by default).\n"
"The command-line arguments are interpreted as follows:\n"
"\n"
-" -x exclude; specify a file to read a list of traces to exclude\n"
" -l list only; just list selected test case names without executing\n"
+" -x exclude; specify a file to read a list of traces to exclude\n"
"\n"
"If test names are given they are used as sub-string matches so a command\n"
-"such as \"cairo-test-trace firefox\" can be used to run all firefox traces.\n"
+"such as \"%s firefox\" can be used to run all firefox traces.\n"
"Alternatively, you can specify a list of filenames to execute.\n",
argv0, argv0);
}