2986: Make arv-run-pipeline-instance be nicer to the user when run without
authorPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 19 Jun 2014 19:29:48 +0000 (15:29 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 19 Jun 2014 19:29:48 +0000 (15:29 -0400)
command line parameters.

sdk/cli/bin/arv-run-pipeline-instance

index 0fb2c443c3873ee81e01973bb16dd4745b06f88d..4810768ded0d5cd5a7051804dc38a8fa2f3d80c2 100755 (executable)
@@ -187,7 +187,9 @@ if $options[:instance]
     abort "#{$0}: syntax error: --instance cannot be combined with --template or --submit."
   end
 elsif not $options[:template]
-  abort "#{$0}: syntax error: you must supply a --template or --instance."
+  puts "error: you must supply a --template or --instance."
+  p.educate
+  abort
 end
 
 if $options[:run_here] == $options[:submit]