diff --git a/lib/motion/project/command/activate.rb b/lib/motion/project/command/activate.rb index 3c592e05..451d7cc2 100644 --- a/lib/motion/project/command/activate.rb +++ b/lib/motion/project/command/activate.rb @@ -35,7 +35,7 @@ module Motion; module Project; class Command def validate! super - die "Activating a license requires a `LICENSE-KEY`." unless @license_key + help! "Activating a license requires a `LICENSE-KEY`." unless @license_key end def run diff --git a/lib/motion/project/command/ri.rb b/lib/motion/project/command/ri.rb index c88edc9c..8474ddbc 100644 --- a/lib/motion/project/command/ri.rb +++ b/lib/motion/project/command/ri.rb @@ -36,7 +36,7 @@ module Motion; module Project; class Command def validate! super - die "Specify a term to search the API reference for." unless @api_name + help! "Specify a term to search the API reference for." unless @api_name end def run diff --git a/lib/motion/project/command/update.rb b/lib/motion/project/command/update.rb index fdb71cd8..3b9d2c50 100644 --- a/lib/motion/project/command/update.rb +++ b/lib/motion/project/command/update.rb @@ -46,7 +46,7 @@ module Motion; module Project; class Command def validate! super if @force_version - die "--force-version has been deprecated in favor of --cache-version" + help! "--force-version has been deprecated in favor of --cache-version" end if @wanted_software_version && File.exist?('/Library/RubyMotion.old') die("/Library/RubyMotion.old already exists, please move this directory before using --cache-version")