Skip to content

Commit

Permalink
tests: Change -T/--Timeout option to -d/--duration in iio_stresstest
Browse files Browse the repository at this point in the history
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 <paul@crapouillou.net>
  • Loading branch information
pcercuei committed May 11, 2023
1 parent 1a19da1 commit fe21df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/iio_stresstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit fe21df7

Please sign in to comment.