[ARVADOS] updated: 3320b77f636cbd45ce85e282630b48d2189875e7

git at public.curoverse.com git at public.curoverse.com
Mon Sep 1 14:06:49 EDT 2014


Summary of changes:
 sdk/cli/bin/arv | 4 ----
 1 file changed, 4 deletions(-)

       via  3320b77f636cbd45ce85e282630b48d2189875e7 (commit)
      from  51d54eb5a828cb60005c5c2d446d375b4ff8baac (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 3320b77f636cbd45ce85e282630b48d2189875e7
Author: Ward Vandewege <ward at curoverse.com>
Date:   Mon Sep 1 14:05:38 2014 -0400

    Do not blow up when arv is called with an unrecognized argument.
    
    Calling option_parser.educate suffices, no need for a call to
    Trollop::die that fails and throws a stacktrace.
    
    no issue #

diff --git a/sdk/cli/bin/arv b/sdk/cli/bin/arv
index 337d9ab..bf8a143 100755
--- a/sdk/cli/bin/arv
+++ b/sdk/cli/bin/arv
@@ -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
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list