[ARVADOS] updated: 5f0b3d260e1ee55969a6954aff1d650bf06e693b

git at public.curoverse.com git at public.curoverse.com
Mon Jun 23 10:09:55 EDT 2014


Summary of changes:
 sdk/cli/bin/arv | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  5f0b3d260e1ee55969a6954aff1d650bf06e693b (commit)
      from  8fc3ca1a1f521dfe77ebeb2b9b26691dab0313f8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5f0b3d260e1ee55969a6954aff1d650bf06e693b
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Jun 23 10:09:51 2014 -0400

    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 cf3fffa..6842703 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
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list