aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-02-25 12:46:53 +0000
committerAlex Bennée <alex.bennee@linaro.org>2020-02-25 17:42:59 +0000
commit804c96848b18458e05d64a5fdda8ced29c2470a9 (patch)
treef646685e4dfc9804ccf784afd730d6960b34668b /tests
parentf2887ba33606b9dc98f451c7f0e89dba37cef94c (diff)
tests/rcutorture: update usage hint
Although documented in the comments we don't display all the various invocations we can in the usage. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200225124710.14152-3-alex.bennee@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/rcutorture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rcutorture.c b/tests/rcutorture.c
index 49311c82ea..e8b2169e7d 100644
--- a/tests/rcutorture.c
+++ b/tests/rcutorture.c
@@ -413,7 +413,8 @@ static void gtest_stress_10_5(void)
static void usage(int argc, char *argv[])
{
- fprintf(stderr, "Usage: %s [nreaders [ perf | stress ] ]\n", argv[0]);
+ fprintf(stderr, "Usage: %s [nreaders [ [r|u]perf | stress [duration]]\n",
+ argv[0]);
exit(-1);
}