Merge "Change the initial letter to capitals in Tacker CLI help texts"

This commit is contained in:
Jenkins
2016-06-24 04:36:32 +00:00
committed by Gerrit Code Review
3 changed files with 16 additions and 16 deletions

View File

@@ -50,16 +50,16 @@ class CreateVIM(tackerV10.CreateCommand):
def add_known_arguments(self, parser): def add_known_arguments(self, parser):
group = parser.add_mutually_exclusive_group(required=True) 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') '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') 'as a direct input')
parser.add_argument( parser.add_argument(
'--name', '--name',
help='Set a name for the vim') help='Set a name for the VIM')
parser.add_argument( parser.add_argument(
'--description', '--description',
help='Set a description for the vim') help='Set a description for the VIM')
def args2body(self, parsed_args): def args2body(self, parsed_args):
body = {self.resource: {}} body = {self.resource: {}}
@@ -94,10 +94,10 @@ class UpdateVIM(tackerV10.UpdateCommand):
group = parser.add_mutually_exclusive_group(required=True) group = parser.add_mutually_exclusive_group(required=True)
group.add_argument( group.add_argument(
'--config-file', '--config-file',
help='specify VIM specific config parameters in a file') help='Specify VIM specific config parameters in a file')
group.add_argument( group.add_argument(
'--config', '--config',
help='specify VIM config parameters as a direct input') help='Specify VIM config parameters as a direct input')
def args2body(self, parsed_args): def args2body(self, parsed_args):
body = {self.resource: {}} body = {self.resource: {}}

View File

@@ -44,7 +44,7 @@ class CreateVNF(tackerV10.CreateCommand):
def add_known_arguments(self, parser): def add_known_arguments(self, parser):
parser.add_argument( parser.add_argument(
'--name', '--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 = parser.add_mutually_exclusive_group(required=True)
vnfd_group.add_argument( vnfd_group.add_argument(
'--vnfd-id', '--vnfd-id',
@@ -64,13 +64,13 @@ class CreateVNF(tackerV10.CreateCommand):
help='VIM Region to use to create VNF on the specified VIM') help='VIM Region to use to create VNF on the specified VIM')
parser.add_argument( parser.add_argument(
'--config-file', '--config-file',
help='specify config yaml file') help='Specify config yaml file')
parser.add_argument( parser.add_argument(
'--config', '--config',
help='specify config yaml data') help='Specify config yaml data')
parser.add_argument( parser.add_argument(
'--param-file', '--param-file',
help='specify parameter yaml file' help='Specify parameter yaml file'
) )
def args2body(self, parsed_args): def args2body(self, parsed_args):
@@ -120,10 +120,10 @@ class UpdateVNF(tackerV10.UpdateCommand):
def add_known_arguments(self, parser): def add_known_arguments(self, parser):
parser.add_argument( parser.add_argument(
'--config-file', '--config-file',
help='specify config yaml file') help='Specify config yaml file')
parser.add_argument( parser.add_argument(
'--config', '--config',
help='specify config yaml data') help='Specify config yaml data')
def args2body(self, parsed_args): def args2body(self, parsed_args):
body = {self.resource: {}} body = {self.resource: {}}

View File

@@ -47,14 +47,14 @@ class CreateVNFD(tackerV10.CreateCommand):
def add_known_arguments(self, parser): def add_known_arguments(self, parser):
group = parser.add_mutually_exclusive_group(required=True) group = parser.add_mutually_exclusive_group(required=True)
group.add_argument('--vnfd-file', help='specify vnfd file') group.add_argument('--vnfd-file', help='Specify VNFD file')
group.add_argument('--vnfd', help='specify vnfd') group.add_argument('--vnfd', help='Specify VNFD')
parser.add_argument( parser.add_argument(
'--name', '--name',
help='Set a name for the vnfd') help='Set a name for the VNFD')
parser.add_argument( parser.add_argument(
'--description', '--description',
help='Set a description for the vnfd') help='Set a description for the VNFD')
def args2body(self, parsed_args): def args2body(self, parsed_args):
body = {self.resource: {}} body = {self.resource: {}}