summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorheha <zhanghanqun@unitedstack.com>2015-07-18 18:19:01 +0800
committerTerry Howe <terrylhowe@gmail.com>2015-07-18 12:56:39 +0000
commit8bae13835495e078be13b91ecc0d688037e91572 (patch)
treec45d740e0bc1e05e2c23c8e6861d9407203b92a5 /doc/source/command-objects
parent8175ce5985ae1c9846a8b67ac6abbb2e3ba360e1 (diff)
downloadpython-openstackclient-8bae13835495e078be13b91ecc0d688037e91572.tar.gz
Add details to the documentation.
Add "or-show" to "project create" and "role create" in the documentation. Closes-Bug: #1475485 Change-Id: I2d98766c4ddd8b2022012c4f6c5e1d4fcebfc42a
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/project.rst7
-rw-r--r--doc/source/command-objects/role.rst7
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/source/command-objects/project.rst b/doc/source/command-objects/project.rst
index 637a4498..54c69a6c 100644
--- a/doc/source/command-objects/project.rst
+++ b/doc/source/command-objects/project.rst
@@ -18,6 +18,7 @@ Create new project
[--description <description>]
[--enable | --disable]
[--property <key=value>]
+ [--or-show]
<name>
.. option:: --domain <domain>
@@ -49,6 +50,12 @@ Create new project
Add a property to :ref:`\<name\> <project_create-name>`
(repeat option to set multiple properties)
+.. option:: --or-show
+
+ Return existing project
+
+ If the project already exist return the existing project data and do not fail.
+
.. _project_create-name:
.. describe:: <name>
diff --git a/doc/source/command-objects/role.rst b/doc/source/command-objects/role.rst
index dad5642d..5020a91c 100644
--- a/doc/source/command-objects/role.rst
+++ b/doc/source/command-objects/role.rst
@@ -71,8 +71,15 @@ Create new role
.. code:: bash
os role create
+ [--or-show]
<name>
+.. option:: --or-show
+
+ Return existing role
+
+ If the role already exist return the existing role data and do not fail.
+
.. describe:: <name>
New role name