mirror of https://github.com/licensee/licensee.git
Merge pull request #352 from tieguy/patch-1
Make error slightly more descriptive
This commit is contained in:
commit
61fe70f45b
|
@ -53,7 +53,7 @@ class LicenseeCLI < Thor
|
|||
if options[:license]
|
||||
error "#{options[:license]} is not a valid license"
|
||||
else
|
||||
error 'You must provide an expected license'
|
||||
error 'Usage: provide a license to diff against with --license (spdx name)'
|
||||
end
|
||||
|
||||
error "Valid licenses: #{Licensee::License.all(hidden: true).map(&:key).join(', ')}"
|
||||
|
|
Loading…
Reference in New Issue