lib/yard/cli/spellcheck.rb in yard-spellcheck-0.1.2 vs lib/yard/cli/spellcheck.rb in yard-spellcheck-0.1.3

- old
+ new

@@ -68,10 +68,10 @@ opts.banner = "Usage: yard spellcheck [options]" opts.separator "" opts.separator description opts.separator "" - opts.on('-D','--dict-dir','Dictionary directory') do |dir| + opts.on('-D','--dict-dir DIR','Dictionary directory') do |dir| FFI::Hunspell.directories << File.expand_path(dir) end opts.on('-c','--check [CLASS | MODULE]','Classes/Modules to spellcheck') do |name| @names << name