Merge pull request #352 from tieguy/patch-1

Make error slightly more descriptive
This commit is contained in:
Ben Balter 2019-01-10 10:14:58 -05:00 committed by GitHub
commit 61fe70f45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(', ')}"