summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
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