projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 7162-support-service-types
[arvados.git]
/
sdk
/
cli
/
bin
/
arv
diff --git
a/sdk/cli/bin/arv
b/sdk/cli/bin/arv
index 36ec037bd80702b27137cb07824ca21cda641d99..b757855b1f22653eef4a6faaa96cc2c684214e86 100755
(executable)
--- a/
sdk/cli/bin/arv
+++ b/
sdk/cli/bin/arv
@@
-258,11
+258,6
@@
def arv_edit client, arvados, global_opts, remaining_opts
exit 255
end
exit 255
end
- if not $stdout.tty?
- puts "Not connected to a TTY, cannot run interactive editor."
- exit 1
- end
-
# determine controller
m = /([a-z0-9]{5})-([a-z0-9]{5})-([a-z0-9]{15})/.match uuid
# determine controller
m = /([a-z0-9]{5})-([a-z0-9]{5})-([a-z0-9]{15})/.match uuid
@@
-314,9
+309,9
@@
def arv_edit client, arvados, global_opts, remaining_opts
authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
})
results = check_response result
authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
})
results = check_response result
- puts "Updated object #{results['uuid']}"
+
STDERR.
puts "Updated object #{results['uuid']}"
else
else
- puts "Object is unchanged, did not update."
+
STDERR.
puts "Object is unchanged, did not update."
end
end
end
end