summary refs log tree commit diff
path: root/bin/bacon
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bacon')
-rwxr-xr-xbin/bacon3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bacon b/bin/bacon
index bf3af97..c76701e 100755
--- a/bin/bacon
+++ b/bin/bacon
@@ -54,6 +54,9 @@ opts = OptionParser.new("", 24, '  ') { |opts|
           "do FORMAT (SpecDox/TestUnit/Tap) output") { |format|
     output = format + "Output" 
   }
+  opts.on("-Q", "--no-backtrace", "don't print backtraces") {
+    Bacon.const_set :Backtraces, false
+  }
 
   opts.on("-a", "--automatic", "gather tests from ./test/, include ./lib/") {
     $LOAD_PATH.unshift "lib"  if File.directory? "lib"