# File lib/puppet/application/puppetdoc.rb, line 181
181:     def setup_reference
182:         if options[:all]
183:             # Don't add dynamic references to the "all" list.
184:             options[:references] = Reference.references.reject do |ref|
185:                 Reference.reference(ref).dynamic?
186:             end
187:         end
188: 
189:         if options[:references].empty?
190:             options[:references] << :type
191:         end
192:     end