summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bacon4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bacon b/bin/bacon
index 8e78bca..60997d8 100755
--- a/bin/bacon
+++ b/bin/bacon
@@ -45,6 +45,10 @@ opts = OptionParser.new("", 24, '  ') { |opts|
     output = 'TestUnitOutput'
   }
 
+  opts.on("-p", "--tap",   "do TAP (Test Anything Protocol) output") {
+    output = 'TapOutput'
+  }
+
   opts.on("-a", "--automatic", "gather tests from ./test/, include ./lib/") {
     $LOAD_PATH.unshift "lib"  if File.directory? "lib"
     automatic = true