X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1a0a58c4f22af82e0a37440af3b0948771bca5e1..12d990a6590e5f23a5998d29a2d8efdb0f733688:/sdk/cli/bin/arv diff --git a/sdk/cli/bin/arv b/sdk/cli/bin/arv index 337d9abdef..ec3d8061b5 100755 --- a/sdk/cli/bin/arv +++ b/sdk/cli/bin/arv @@ -2,7 +2,7 @@ # Arvados cli client # -# Ward Vandewege +# Ward Vandewege require 'fileutils' @@ -118,7 +118,7 @@ def check_subcommands client, arvados, subcommand, global_opts, remaining_opts case subcommand when 'keep' @sub = remaining_opts.shift - if ['get', 'put', 'ls', 'normalize'].index @sub then + if ['get', 'put', 'ls', 'normalize', 'copy'].index @sub then # Native Arvados exec `which arv-#{@sub}`.strip, *remaining_opts elsif ['less', 'check'].index @sub then @@ -358,10 +358,6 @@ end def help_resources(option_parser, discovery_document, resource) option_parser.educate - - if not resource.nil? and resource != '--help' then - Trollop::die "Unknown resource type #{resource.inspect}" - end exit 255 end