Make error slightly more descriptive

Fixes what is left of #346
This commit is contained in:
Luis Villa 2019-01-09 20:48:01 -08:00 committed by GitHub
parent d81cc32734
commit 56ce1852ec
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(', ')}"