Skip to content

Commit b68be1d

Browse files
committed
Fix doc builder to show to/from branch options
1 parent a64adc3 commit b68be1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rake/doc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def options
5555
next if long.nil?
5656
long.each do |_longopt, val|
5757
filename = val.instance_variable_get('@block').source_location[0]
58-
next unless filename.start_with?(CODE_PATH + '/')
58+
next unless filename.start_with?(CODE_PATH + '/') || filename == CODE_PATH + '.rb'
5959

6060
arg = val.instance_variable_get('@arg')
6161
arg.strip! if arg.is_a?(String)

0 commit comments

Comments
 (0)