Hi all. Saw this: Usage: rspec [options] [files or directories] -b, --backtrace Enable full backtrace -c, --[no-]color, --[no-]colour Enable color in the output -d, --debug Enable debugging -e, --example PATTERN Run examples whose full descriptions match this pattern (PATTERN is compiled into a Ruby regular expression) -f, --format FORMATTER Choose a formatter [p]rogress (default - dots) [d]ocumentation (group and example names) [h]tml [t]extmate custom formatter class name tried this: $ rspec -fp (for the [p] in [p]rogress) got this: Exception `ArgumentError'' at c:/dev/ruby/downloads/jruby/lib/ruby/gems/ 1.8/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191 - Formatter ''p'' unknown - maybe you meant ''documentation'' or ''progress''?. c:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/rspec- core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191:in `formatter='': Formatter ''p'' unknown - maybe you meant ''documentation'' or ''progress''?. (ArgumentError) is this expected? Thanks. -r
On Jul 19, 2010, at 8:17 AM, rogerdpack wrote:> Hi all. > > Saw this: > > Usage: rspec [options] [files or directories] > -b, --backtrace Enable full backtrace > -c, --[no-]color, --[no-]colour Enable color in the output > -d, --debug Enable debugging > -e, --example PATTERN Run examples whose full > descriptions match this pattern > (PATTERN is compiled into a Ruby > regular expression) > -f, --format FORMATTER Choose a formatter > [p]rogress (default - dots) > [d]ocumentation (group and > example names) > [h]tml > [t]extmate > custom formatter class name > > tried this: > $ rspec -fp (for the [p] in [p]rogress) > > got this: > > Exception `ArgumentError'' at c:/dev/ruby/downloads/jruby/lib/ruby/gems/ > 1.8/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191 > - Formatter ''p'' unknown - maybe you meant ''documentation'' or > ''progress''?. > c:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/rspec- > core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191:in > `formatter='': Formatter ''p'' unknown - maybe you meant ''documentation'' > or ''progress''?. (ArgumentError) > > is this expected?Nope. Bug. rspec-core bugs go here: http://github.com/rspec/rspec-core/issues Thx, David> Thanks. > -r
El 19/07/2010, a las 15:52, David Chelimsky escribi?:> On Jul 19, 2010, at 8:17 AM, rogerdpack wrote: > >> Hi all. >> >> Saw this: >> >> Usage: rspec [options] [files or directories] >> -b, --backtrace Enable full backtrace >> -c, --[no-]color, --[no-]colour Enable color in the output >> -d, --debug Enable debugging >> -e, --example PATTERN Run examples whose full >> descriptions match this pattern >> (PATTERN is compiled into a Ruby >> regular expression) >> -f, --format FORMATTER Choose a formatter >> [p]rogress (default - dots) >> [d]ocumentation (group and >> example names) >> [h]tml >> [t]extmate >> custom formatter class name >> >> tried this: >> $ rspec -fp (for the [p] in [p]rogress) >> >> got this: >> >> Exception `ArgumentError'' at c:/dev/ruby/downloads/jruby/lib/ruby/gems/ >> 1.8/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191 >> - Formatter ''p'' unknown - maybe you meant ''documentation'' or >> ''progress''?. >> c:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/rspec- >> core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191:in >> `formatter='': Formatter ''p'' unknown - maybe you meant ''documentation'' >> or ''progress''?. (ArgumentError) >> >> is this expected? > > Nope. Bug. rspec-core bugs go here: http://github.com/rspec/rspec-core/issuesIn the meantime, "rspec -f p" (with a space) works fine. Wincent
dchelimsky at gmail.com
2010-Jul-20 23:50 UTC
[rspec-users] rspec2 help output has brackets?
On Jul 19, 9:20?am, Wincent Colaiuta <w... at wincent.com> wrote:> El 19/07/2010, a las 15:52, David Chelimsky escribi?: > > > > > > > On Jul 19, 2010, at 8:17 AM, rogerdpack wrote: > > >> Hi all. > > >> Saw this: > > >> Usage: rspec [options] [files or directories] > >> ? -b, --backtrace ? ? ? ? ? ? ? ? ?Enable full backtrace > >> ? -c, --[no-]color, --[no-]colour ?Enable color in the output > >> ? -d, --debug ? ? ? ? ? ? ? ? ? ? ?Enable debugging > >> ? -e, --example PATTERN ? ? ? ? ? ?Run examples whose full > >> descriptions match this pattern > >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?(PATTERN is compiled into a Ruby > >> regular expression) > >> ? -f, --format FORMATTER ? ? ? ? ? Choose a formatter > >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?[p]rogress (default - dots) > >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?[d]ocumentation (group and > >> example names) > >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?[h]tml > >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?[t]extmate > >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?custom formatter class name > > >> tried this: > >> $ rspec -fp (for the [p] in [p]rogress) > > >> got this: > > >> Exception `ArgumentError'' at c:/dev/ruby/downloads/jruby/lib/ruby/gems/ > >> 1.8/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191 > >> - Formatter ''p'' unknown - maybe you meant ''documentation'' or > >> ''progress''?. > >> c:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/rspec- > >> core-2.0.0.beta.17/lib/rspec/core/configuration.rb:191:in > >> `formatter='': Formatter ''p'' unknown - maybe you meant ''documentation'' > >> or ''progress''?. (ArgumentError) > > >> is this expected? > > > Nope. Bug. rspec-core bugs go here:http://github.com/rspec/rspec-core/issues > > In the meantime, "rspec -f p" (with a space) works fine.Fixed: http://github.com/rspec/rspec-core/issues/closed#issue/84> > Wincent > > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users