projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ad5fb
)
8697: Move error messages from stdout to stderr.
author
Tom Clegg <tom@curoverse.com>
Tue, 22 Mar 2016 21:29:29 +0000
(17:29 -0400)
committer
Tom Clegg <tom@curoverse.com>
Wed, 13 Apr 2016 19:51:35 +0000
(15:51 -0400)
sdk/cli/bin/arv-run-pipeline-instance
patch
|
blob
|
history
diff --git
a/sdk/cli/bin/arv-run-pipeline-instance
b/sdk/cli/bin/arv-run-pipeline-instance
index 70e2f42ede56ab9949f7ee9105c730b83a545966..6dc82c5a20b841b1aeb1400ecdaf7dd6c21d4ed5 100755
(executable)
--- a/
sdk/cli/bin/arv-run-pipeline-instance
+++ b/
sdk/cli/bin/arv-run-pipeline-instance
@@
-17,7
+17,7
@@
begin
require 'trollop'
require 'google/api_client'
rescue LoadError => l
- puts $:
+
$stderr.
puts $:
abort <<-EOS
#{$0}: fatal: #{l.message}
Some runtime dependencies may be missing.
@@
-132,7
+132,7
@@
if $options[:instance]
abort "#{$0}: syntax error: --instance cannot be combined with --template or --submit."
end
elsif not $options[:template]
- puts "error: you must supply a --template or --instance."
+
$stderr.
puts "error: you must supply a --template or --instance."
p.educate
abort
end