Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-209-fix-create-archive-command-help [created] 505df8d20


ARIA-209 Fix  CLI command help


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/505df8d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/505df8d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/505df8d2

Branch: refs/heads/ARIA-209-fix-create-archive-command-help
Commit: 505df8d20be5c6ea699c8a5d0aad20a7388d6102
Parents: 0878526
Author: Ran Ziv <[email protected]>
Authored: Thu May 4 17:07:50 2017 +0300
Committer: Ran Ziv <[email protected]>
Committed: Thu May 4 17:07:50 2017 +0300

----------------------------------------------------------------------
 aria/cli/commands/service_templates.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/505df8d2/aria/cli/commands/service_templates.py
----------------------------------------------------------------------
diff --git a/aria/cli/commands/service_templates.py 
b/aria/cli/commands/service_templates.py
index 97367c2..2537012 100644
--- a/aria/cli/commands/service_templates.py
+++ b/aria/cli/commands/service_templates.py
@@ -182,20 +182,21 @@ def validate(service_template, service_template_filename,
 
 
 @service_templates.command(name='create-archive',
-                           short_help='Create a csar archive')
+                           short_help='Create a CSAR archive')
 @aria.argument('service-template-path')
 @aria.argument('destination')
 @aria.options.verbose()
 @aria.pass_logger
 def create_archive(service_template_path, destination, logger):
-    """Create a csar archive
+    """Create a csar archive on the local file system
 
     `service_template_path` is the path of the service template to create the 
archive from
-    `destination` is the path of the output csar archive
+
+    `destination` is the path of the output CSAR archive file
     """
-    logger.info('Creating a csar archive')
+    logger.info('Creating a CSAR archive')
     csar.write(os.path.dirname(service_template_path), service_template_path, 
destination, logger)
-    logger.info('Csar archive created at {0}'.format(destination))
+    logger.info('CSAR archive created at {0}'.format(destination))
 
 
 def print_service_template_inputs(model_storage, service_template_name, 
logger):

Reply via email to