Severity: minor
Tags: patch

The test driver help message indicates that arguments are given using,
e.g., "--test-name=NAME", while it only recognizes "--test-name NAME".

The attached patch fixes the help message.
>From 4e4fa0836748de17ca99d0cc99122a68d9585df4 Mon Sep 17 00:00:00 2001
From: Samuel Tardieu <s...@rfc1149.net>
Date: Sat, 23 Jan 2016 15:57:56 +0100
Subject: [PATCH] Fix test-driver help message
Bcc: s...@rfc1149.net

The parameter names and their corresponding arguments must be separated
by a blank while the help message wrongly indicates that an equal sign
must (or can) be used.
---
 lib/test-driver | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/test-driver b/lib/test-driver
index d7eac82..cfc1907 100755
--- a/lib/test-driver
+++ b/lib/test-driver
@@ -42,9 +42,9 @@ print_usage ()
 {
   cat <<END
 Usage:
-  test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
-              [--expect-failure={yes|no}] [--color-tests={yes|no}]
-              [--enable-hard-errors={yes|no}] [--]
+  test-driver --test-name NAME --log-file PATH --trs-file PATH
+              [--expect-failure {yes|no}] [--color-tests {yes|no}]
+              [--enable-hard-errors {yes|no}] [--]
               TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
 END
-- 
2.7.0

Reply via email to