From: Damien Lespiau Subject: [PATCH i-g-t] lib: Make sure we can also use the short form of the subtest options Date: Thu, 21 Mar 2013 16:23:58 +0000 Message-ID: <1363883038-8698-1-git-send-email-damien.lespiau@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B0CFE60C5 for ; Thu, 21 Mar 2013 09:24:09 -0700 (PDT) Received: by mail-we0-f182.google.com with SMTP id t57so2543471wey.27 for ; Thu, 21 Mar 2013 09:24:08 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Damien Lespiau Signed-off-by: Damien Lespiau --- 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