From: Damien Lespiau <damien.lespiau at intel.com> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com> --- lib/drmtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/drmtest.c b/lib/drmtest.c index 641028c..2d4fc89 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -530,7 +530,7 @@ void drmtest_subtest_init(int argc, char **argv) /* supress getopt errors about unknown options */ opterr = 0; - while((c = getopt_long(argc, argv, "", + while((c = getopt_long(argc, argv, "lr:", long_options, &option_index)) != -1) { switch(c) { case 'l': -- 1.7.11.7