summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2019-08-19 11:13:14 +0900
committerHervé Beraud <hberaud@redhat.com>2020-03-04 12:55:36 +0100
commit03c28595d172abecf0ae89b38447c67bcedc92b4 (patch)
tree67126681a4326b83054f8874a8b95caf48840bc0 /doc/source/cli/command-objects
parent2b4b1e00a59fd23f58e0bc0645ad16d8047f923e (diff)
downloadpython-openstackclient-03c28595d172abecf0ae89b38447c67bcedc92b4.tar.gz
Add parent project filter for listing projects
This patch introduces a new option --parent into project list, to specify a parent project to filter projects which has the given project as their parent. Depends-on: https://review.opendev.org/#/c/677101 Change-Id: I6725262cf040e0ec6ceca9cf0462ce59224049c6 (cherry picked from commit 7c1b6a799e0ac6fea511a2cf1e97aebb2f94e0d6)
Diffstat (limited to 'doc/source/cli/command-objects')
-rw-r--r--doc/source/cli/command-objects/project.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/project.rst b/doc/source/cli/command-objects/project.rst
index 6891a79a..ac7e8cd1 100644
--- a/doc/source/cli/command-objects/project.rst
+++ b/doc/source/cli/command-objects/project.rst
@@ -102,6 +102,7 @@ List projects
openstack project list
[--domain <domain>]
+ [--parent <parent>]
[--user <user>]
[--my-projects]
[--long]
@@ -115,6 +116,12 @@ List projects
.. versionadded:: 3
+.. option:: --parent <parent>
+
+ Filter projects whose parent is :option:`\<parent\> <--parent>` (name or ID)
+
+ .. versionadded:: 3
+
.. option:: --user <user>
Filter projects by :option:`\<user\> <--user>` (name or ID)