Fix the -f switch for subunit2junitxml.
authorRobert Collins <robertc@robertcollins.net>
Thu, 17 Dec 2009 21:53:57 +0000 (08:53 +1100)
committerRobert Collins <robertc@robertcollins.net>
Thu, 17 Dec 2009 21:53:57 +0000 (08:53 +1100)
NEWS
filters/subunit2junitxml

diff --git a/NEWS b/NEWS
index 54624c33b837f879abfcd296eeda7d17e8f69db2..23ddc282c418ef357cf3a5aed5598d397dbc6bde 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,15 @@ subunit release notes
 NEXT (In development)
 ---------------------
 
+BUG FIXES
+~~~~~~~~~
+
+* subunit2junitxml -f required a value, this is now fixed and -f acts as a
+  boolean switch with no parameter.
+
+* Building with autoconf 2.65 is now supported.
+
+
 0.0.3
 -----
 
index f0adb48a2b8043e18137a278df963c51a42d1cd3..bea795d2bdd801f546c41e1d2b6d6dbcefd79ccc 100755 (executable)
@@ -33,7 +33,8 @@ parser.add_option("--no-passthrough", action="store_true",
     help="Hide all non subunit input.", default=False, dest="no_passthrough")
 parser.add_option("-o", "--output-to",
     help="Output the XML to this path rather than stdout.")
-parser.add_option("-f", "--forward", help="Forward subunit stream on stdout.")
+parser.add_option("-f", "--forward", action="store_true", default=False,
+    help="Forward subunit stream on stdout.")
 (options, args) = parser.parse_args()
 if options.output_to is None:
     output_to = sys.stdout