Browse files

Dot-progress report format is selected via :dot. [minor]

  • Loading branch information...
1 parent 2aa109e commit 3488ff9fd79ec7cd3bfe6515163e6f997b4c4757 @trans trans committed Nov 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/turn/command.rb
View
6 lib/turn/command.rb
@@ -26,7 +26,7 @@ module Turn
# OUTPUT MODES
# -O, --outline turn's original case/test outline mode
# -P, --progress indicates progress with progress bar
- # -D, --dotted test-unit's traditonal dot-progress mode
+ # -D, --dot, --dotted test-unit's traditonal dot-progress mode
# -R, -T, --pretty new pretty output mode [default]
# -C, --cue cue for action on each failure/error
# -M, --marshal dump output as YAML (normal run mode only)
@@ -205,8 +205,8 @@ def option_parser
@outmode = :progress
end
- opts.on('--dotted', '-D', "test-unit's traditonal dot-progress mode") do
- @outmode = :dotted
+ opts.on('--dot', '--dotted', '-D', "test-unit's traditonal dot-progress mode") do
+ @outmode = :dot
end
opts.on('--pretty', '-R', '-T', "new pretty output mode [default]") do

0 comments on commit 3488ff9

Please sign in to comment.