bin/hoc in hoc-0.6 vs bin/hoc in hoc-0.7

- old
+ new

@@ -46,16 +46,23 @@ 'exclude', 'Glob pattern to exclude files/dirs, e.g. "vendor/**"', as: Array, argument: :required ) + on( + 'd', + 'dir', + 'Directory to scan', + default: '.', + argument: :required + ) end if opts.help? puts opts exit end Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 -puts HOC::Base.new(Dir.pwd, opts).report +puts HOC::Base.new(opts).report