[ARVADOS] created: df747077737cbcd62d6cfaedf17b1eaa18c1cbf8

Git user git at public.curoverse.com
Mon Dec 5 13:24:26 EST 2016


        at  df747077737cbcd62d6cfaedf17b1eaa18c1cbf8 (commit)


commit df747077737cbcd62d6cfaedf17b1eaa18c1cbf8
Author: radhika <radhika at curoverse.com>
Date:   Mon Dec 5 13:23:42 2016 -0500

    10215: if version arg is used, just display version info and exit.

diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index cacb7b8..35adae9 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -565,6 +565,10 @@ def main(args, stdout, stderr, api_client=None, keep_client=None):
     job_order_object = None
     arvargs = parser.parse_args(args)
 
+    if arvargs.version:
+        print versionstring()
+        return
+
     if arvargs.update_workflow:
         if arvargs.update_workflow.find('-7fd4e-') == 5:
             want_api = 'containers'

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list