summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/identity/v2_0/ec2creds.py4
-rw-r--r--openstackclient/identity/v3/credential.py20
2 files changed, 12 insertions, 12 deletions
diff --git a/openstackclient/identity/v2_0/ec2creds.py b/openstackclient/identity/v2_0/ec2creds.py
index 058b5772..4873cd55 100644
--- a/openstackclient/identity/v2_0/ec2creds.py
+++ b/openstackclient/identity/v2_0/ec2creds.py
@@ -94,7 +94,7 @@ class DeleteEC2Creds(command.Command):
'access_keys',
metavar='<access-key>',
nargs='+',
- help=_('Credentials access keys'),
+ help=_('Credentials access key(s)'),
)
parser.add_argument(
'--user',
@@ -121,7 +121,7 @@ class DeleteEC2Creds(command.Command):
identity_client.ec2.delete(user, access_key)
except Exception as e:
result += 1
- LOG.error(_("Failed to delete EC2 keys with "
+ LOG.error(_("Failed to delete EC2 credentials with "
"access key '%(access_key)s': %(e)s")
% {'access_key': access_key, 'e': e})
diff --git a/openstackclient/identity/v3/credential.py b/openstackclient/identity/v3/credential.py
index 0ea29aba..0ef94cf4 100644
--- a/openstackclient/identity/v3/credential.py
+++ b/openstackclient/identity/v3/credential.py
@@ -29,14 +29,14 @@ LOG = logging.getLogger(__name__)
class CreateCredential(command.ShowOne):
- """Create credential command"""
+ """Create new credential"""
def get_parser(self, prog_name):
parser = super(CreateCredential, self).get_parser(prog_name)
parser.add_argument(
'user',
metavar='<user>',
- help=_('Name or ID of user that owns the credential'),
+ help=_('user that owns the credential (name or ID)'),
)
parser.add_argument(
'--type',
@@ -53,8 +53,8 @@ class CreateCredential(command.ShowOne):
parser.add_argument(
'--project',
metavar='<project>',
- help=_('Project name or ID which limits the '
- 'scope of the credential'),
+ help=_('Project which limits the scope of '
+ 'the credential (name or ID)'),
)
return parser
@@ -110,7 +110,7 @@ class DeleteCredential(command.Command):
class ListCredential(command.Lister):
- """List credential command"""
+ """List credentials"""
def take_action(self, parsed_args):
columns = ('ID', 'Type', 'User ID', 'Blob', 'Project ID')
@@ -124,7 +124,7 @@ class ListCredential(command.Lister):
class SetCredential(command.Command):
- """Set credential command"""
+ """Set credential properties"""
def get_parser(self, prog_name):
parser = super(SetCredential, self).get_parser(prog_name)
@@ -137,7 +137,7 @@ class SetCredential(command.Command):
'--user',
metavar='<user>',
required=True,
- help=_('Name or ID of user that owns the credential'),
+ help=_('User that owns the credential (name or ID)'),
)
parser.add_argument(
'--type',
@@ -155,8 +155,8 @@ class SetCredential(command.Command):
parser.add_argument(
'--project',
metavar='<project>',
- help=_('Project name or ID which limits the '
- 'scope of the credential'),
+ help=_('Project which limits the scope of '
+ 'the credential (name or ID)'),
)
return parser
@@ -180,7 +180,7 @@ class SetCredential(command.Command):
class ShowCredential(command.ShowOne):
- """Show credential command"""
+ """Display credential details"""
def get_parser(self, prog_name):
parser = super(ShowCredential, self).get_parser(prog_name)