automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {test-protocols} tap: fix typo in TAP driver version message


From: Stefano Lattarini
Subject: [FYI] {test-protocols} tap: fix typo in TAP driver version message
Date: Fri, 5 Aug 2011 23:14:58 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* lib/tap-driver (anonymous subroutine printing the script version
message): Add missing trailing newline to the version message.
---
 ChangeLog      |    6 ++++++
 lib/tap-driver |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6036f42..b44766c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-08-05  Stefano Lattarini  <address@hidden>
 
+       tap: fix typo in TAP driver version message
+       * lib/tap-driver (anonymous subroutine printing the script version
+       message): Add missing trailing newline to the version message.
+
+2011-08-05  Stefano Lattarini  <address@hidden>
+
        tap docs: we don't support pragma or version directives (yet)
        * doc/automake.texi (Incompatibilities with other TAP parsers
        and drivers): Document that limitation.  Normalize an unrelated
diff --git a/lib/tap-driver b/lib/tap-driver
index c748c5c..91edd1e 100755
--- a/lib/tap-driver
+++ b/lib/tap-driver
@@ -68,7 +68,7 @@ my $diag_string = "#";
 
 Getopt::Long::GetOptions (
     'help' => sub { print $HELP; exit 0; },
-    'version' => sub { print "$ME $VERSION"; exit 0; },
+    'version' => sub { print "$ME $VERSION\n"; exit 0; },
     'test-name=s' => \$test_script_name,
     'log-file=s' => \$log_file,
     'trs-file=s' => \$trs_file,
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]