summaryrefslogtreecommitdiff
path: root/keystoneclient/v2_0
diff options
context:
space:
mode:
authorlin-hua-cheng <os.lcheng@gmail.com>2014-12-19 16:15:13 -0800
committerlin-hua-cheng <os.lcheng@gmail.com>2014-12-27 21:07:01 -0800
commit1b8c3c8cb90c03881e0a648f247a186fe4b494de (patch)
tree8fd3d67ecd3b2daab702db84842aed8fb9023d11 /keystoneclient/v2_0
parent10860db5f155052ca0d353ce9058e1c16eec8437 (diff)
downloadpython-keystoneclient-1b8c3c8cb90c03881e0a648f247a186fe4b494de.tar.gz
Updated service name to be optional in CLI
Service name is optional in the API, updating the CLI for consistency. Change-Id: I94f0eb248a39d2f59edd00a5f90125a5c42525ed Closes-Bug: #1393977 Closes-Bug: #1404073
Diffstat (limited to 'keystoneclient/v2_0')
-rwxr-xr-xkeystoneclient/v2_0/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/v2_0/shell.py b/keystoneclient/v2_0/shell.py
index a2cb1ab..9920555 100755
--- a/keystoneclient/v2_0/shell.py
+++ b/keystoneclient/v2_0/shell.py
@@ -248,11 +248,11 @@ def do_tenant_delete(kc, args):
kc.tenants.delete(tenant)
-@utils.arg('--name', metavar='<name>', required=True,
- help='Name of new service (must be unique).')
@utils.arg('--type', metavar='<type>', required=True,
help='Service type (one of: identity, compute, network, '
'image, object-store, or other service identifier string).')
+@utils.arg('--name', metavar='<name>',
+ help='Name of new service (must be unique).')
@utils.arg('--description', metavar='<service-description>',
help='Description of service.')
def do_service_create(kc, args):