-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
--help
shows that it's possible to output the result in the different formats but in fact only one is supported. I'd expect that it won't show unsupported configurations/options to not confuse me.
$ hoc --help
Usage (0.8): hoc [options]
-h, --help Show brief intro
-f, --format Output format (text|xml|json|int)
-e, --exclude Glob pattern to exclude files/dirs, e.g. "vendor/**"
-d, --dir Directory to scan
$ hoc -f text
/home/coder/.gem/ruby/gems/hoc-0.8/lib/hoc.rb:38:in `initialize': only "int" format is supported now (RuntimeError)
from /home/coder/.gem/ruby/gems/hoc-0.8/bin/hoc:65:in `new'
from /home/coder/.gem/ruby/gems/hoc-0.8/bin/hoc:65:in `<top (required)>'
from /home/coder/bin/hoc:22:in `load'
from /home/coder/bin/hoc:22:in `<main>'
Metadata
Metadata
Assignees
Labels
No labels