From 805ca417b864e8ed3c2b6622ad59412b719fad16 Mon Sep 17 00:00:00 2001 From: Kawaguchi Kentaro <ken-kawaguchi@vt.jp.nec.com> Date: Wed, 22 Jun 2016 10:49:12 +0900 Subject: [PATCH] Change the initial letter to capitals in Tacker CLI help texts Change-Id: I24f87e65d963b5e425e4b49337d05830bcccc130 Closes-bug: #1593661 --- tackerclient/tacker/v1_0/nfvo/vim.py | 12 ++++++------ tackerclient/tacker/v1_0/vm/vnf.py | 12 ++++++------ tackerclient/tacker/v1_0/vm/vnfd.py | 8 ++++---- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tackerclient/tacker/v1_0/nfvo/vim.py b/tackerclient/tacker/v1_0/nfvo/vim.py index c7847863..bbdeb26b 100644 --- a/tackerclient/tacker/v1_0/nfvo/vim.py +++ b/tackerclient/tacker/v1_0/nfvo/vim.py @@ -50,16 +50,16 @@ class CreateVIM(tackerV10.CreateCommand): def add_known_arguments(self, parser): group = parser.add_mutually_exclusive_group(required=True) - group.add_argument('--config-file', help='specify VIM specific ' + group.add_argument('--config-file', help='Specify VIM specific ' 'config parameters in a file') - group.add_argument('--config', help='specify VIM config parameters ' + group.add_argument('--config', help='Specify VIM config parameters ' 'as a direct input') parser.add_argument( '--name', - help='Set a name for the vim') + help='Set a name for the VIM') parser.add_argument( '--description', - help='Set a description for the vim') + help='Set a description for the VIM') def args2body(self, parsed_args): body = {self.resource: {}} @@ -94,10 +94,10 @@ class UpdateVIM(tackerV10.UpdateCommand): group = parser.add_mutually_exclusive_group(required=True) group.add_argument( '--config-file', - help='specify VIM specific config parameters in a file') + help='Specify VIM specific config parameters in a file') group.add_argument( '--config', - help='specify VIM config parameters as a direct input') + help='Specify VIM config parameters as a direct input') def args2body(self, parsed_args): body = {self.resource: {}} diff --git a/tackerclient/tacker/v1_0/vm/vnf.py b/tackerclient/tacker/v1_0/vm/vnf.py index 3ffa97d7..97f7b496 100644 --- a/tackerclient/tacker/v1_0/vm/vnf.py +++ b/tackerclient/tacker/v1_0/vm/vnf.py @@ -44,7 +44,7 @@ class CreateVNF(tackerV10.CreateCommand): def add_known_arguments(self, parser): parser.add_argument( '--name', - help='Set a name for the vnf') + help='Set a name for the VNF') vnfd_group = parser.add_mutually_exclusive_group(required=True) vnfd_group.add_argument( '--vnfd-id', @@ -64,13 +64,13 @@ class CreateVNF(tackerV10.CreateCommand): help='VIM Region to use to create VNF on the specified VIM') parser.add_argument( '--config-file', - help='specify config yaml file') + help='Specify config yaml file') parser.add_argument( '--config', - help='specify config yaml data') + help='Specify config yaml data') parser.add_argument( '--param-file', - help='specify parameter yaml file' + help='Specify parameter yaml file' ) def args2body(self, parsed_args): @@ -120,10 +120,10 @@ class UpdateVNF(tackerV10.UpdateCommand): def add_known_arguments(self, parser): parser.add_argument( '--config-file', - help='specify config yaml file') + help='Specify config yaml file') parser.add_argument( '--config', - help='specify config yaml data') + help='Specify config yaml data') def args2body(self, parsed_args): body = {self.resource: {}} diff --git a/tackerclient/tacker/v1_0/vm/vnfd.py b/tackerclient/tacker/v1_0/vm/vnfd.py index 19b3dbfe..837e900a 100644 --- a/tackerclient/tacker/v1_0/vm/vnfd.py +++ b/tackerclient/tacker/v1_0/vm/vnfd.py @@ -47,14 +47,14 @@ class CreateVNFD(tackerV10.CreateCommand): def add_known_arguments(self, parser): group = parser.add_mutually_exclusive_group(required=True) - group.add_argument('--vnfd-file', help='specify vnfd file') - group.add_argument('--vnfd', help='specify vnfd') + group.add_argument('--vnfd-file', help='Specify VNFD file') + group.add_argument('--vnfd', help='Specify VNFD') parser.add_argument( '--name', - help='Set a name for the vnfd') + help='Set a name for the VNFD') parser.add_argument( '--description', - help='Set a description for the vnfd') + help='Set a description for the VNFD') def args2body(self, parsed_args): body = {self.resource: {}}