From: Peter Amstutz Date: Thu, 19 Jun 2014 19:29:48 +0000 (-0400) Subject: 2986: Make arv-run-pipeline-instance be nicer to the user when run without X-Git-Tag: 1.1.0~2531^2~6 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/5be63dcb589e10fbfc11fdd85dcb382708852baa 2986: Make arv-run-pipeline-instance be nicer to the user when run without command line parameters. --- diff --git a/sdk/cli/bin/arv-run-pipeline-instance b/sdk/cli/bin/arv-run-pipeline-instance index 0fb2c443c3..4810768ded 100755 --- a/sdk/cli/bin/arv-run-pipeline-instance +++ b/sdk/cli/bin/arv-run-pipeline-instance @@ -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]