in lib/licensee/commands/diff.rb [48:61]
def expected_license
@expected_license ||= Licensee::License.find options[:license] if options[:license]
return @expected_license if @expected_license
if options[:license]
error "#{options[:license]} is not a valid license"
else
error 'Usage: provide a license to diff against with --license (spdx name)'
end
error "Valid licenses: #{Licensee::License.all(hidden: true).map(&:key).join(', ')}"
exit 1
end