File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ long_desc 'Generate HTML docs from a Docurium config file'
1515command :doc do |c |
1616 c . flag :for , :desc => "The version to generate" , :multiple => true
1717 c . switch [ :n , "dry-run" ] , :desc => "Dry-run"
18+ c . switch [ :d , "debug" ] , :desc => "Enable debug log"
1819 c . flag "debug-file" , :desc => "Enable debug output for header" , :multiple => true
1920 c . flag "debug-function" , :desc => "Show debug output when processing function" , :multiple => true
2021 c . flag "debug-type" , :desc => "Show debug output when processing type" , :multiple => true
Original file line number Diff line number Diff line change @@ -600,6 +600,6 @@ def dry_run?
600600 end
601601
602602 def interesting? ( type , what )
603- ( @cli_options [ "debug-#{ type } " ] || [ ] ) . include? ( what )
603+ @cli_options [ 'debug' ] || ( @cli_options [ "debug-#{ type } " ] || [ ] ) . include? ( what )
604604 end
605605end
You can’t perform that action at this time.
0 commit comments