From: Peter Amstutz Date: Mon, 23 Jun 2014 14:09:51 +0000 (-0400) Subject: Suppress "Resource or subcommand '' is not recognized." message when running X-Git-Tag: 1.1.0~2527 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/5f0b3d260e1ee55969a6954aff1d650bf06e693b Suppress "Resource or subcommand '' is not recognized." message when running arv with no parameters. refs #2986 --- diff --git a/sdk/cli/bin/arv b/sdk/cli/bin/arv index cf3fffa131..684270304b 100755 --- a/sdk/cli/bin/arv +++ b/sdk/cli/bin/arv @@ -390,7 +390,7 @@ def parse_arguments(discovery_document, subcommands) if not subcommands.include? resource if not resource_types.include?(resource) - puts "Resource or subcommand '#{resource}' is not recognized.\n\n" + puts "Resource or subcommand '#{resource}' is not recognized.\n\n" if !resource.nil? help_resources(option_parser, discovery_document, resource) end