From fe21df7a138f496bf3890c7cd77b4861ed1feb8b Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Thu, 4 May 2023 16:14:53 +0200 Subject: [PATCH] tests: Change -T/--Timeout option to -d/--duration in iio_stresstest The -T/--timeout (lowercase) option is already present as a common option, and allows to configure the Libiio context timeout in milliseconds. Signed-off-by: Paul Cercueil --- tests/iio_stresstest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/iio_stresstest.c b/tests/iio_stresstest.c index 13683ee80..6a57af2fb 100644 --- a/tests/iio_stresstest.c +++ b/tests/iio_stresstest.c @@ -100,7 +100,7 @@ static const struct option options[] = { {"uri", required_argument, 0, 'u'}, {"buffer-size", required_argument, 0, 'b'}, {"samples", required_argument, 0, 's' }, - {"Timeout", required_argument, 0, 'T'}, + {"duration", required_argument, 0, 'd'}, {"threads", required_argument, 0, 't'}, {"verbose", no_argument, 0, 'v'}, {0, 0, 0, 0},