summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/limits.rst
diff options
context:
space:
mode:
authorEric Fried <openstack@fried.cc>2019-10-29 16:22:18 -0500
committerEric Fried <openstack@fried.cc>2019-11-05 07:09:05 -0600
commit4c0f3bfa89dfc9f207c4f6d6dc6ded85b86fee87 (patch)
tree20538d81091a5eeaf0818bb02e936fb2a46cb996 /doc/source/cli/command-objects/limits.rst
parentc7dbe857055a04402f12dfaa3b261b0ecbf86d7c (diff)
downloadpython-openstackclient-4c0f3bfa89dfc9f207c4f6d6dc6ded85b86fee87.tar.gz
common: autogenerate docs
$namespace = openstack.common The subcommand documents for $namespace were hardcoded and thus prone to drift over time. This commit removes the hardcoded content and uses the autoprogram-cliff directive to generate them automatically from the subcommand configuration classes. This incorporates a correction to `openstack versions show`: The command `openstack versions show --help` showed a copy/paste error, using <region-name> for the metavar for both --service and --status. Fix. Change-Id: I7658fed40d71f4c20ee27908ade433534657cfe5 Co-Authored-By: Pierre Prinetti <pierreprinetti@redhat.com> Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>
Diffstat (limited to 'doc/source/cli/command-objects/limits.rst')
-rw-r--r--doc/source/cli/command-objects/limits.rst34
1 files changed, 2 insertions, 32 deletions
diff --git a/doc/source/cli/command-objects/limits.rst b/doc/source/cli/command-objects/limits.rst
index 92614209..3a0f99b3 100644
--- a/doc/source/cli/command-objects/limits.rst
+++ b/doc/source/cli/command-objects/limits.rst
@@ -6,36 +6,6 @@ The Compute and Block Storage APIs have resource usage limits.
Compute v2, Block Storage v1
-limits show
------------
-Show compute and block storage limits
-
-.. program:: limits show
-.. code:: bash
-
- openstack limits show
- --absolute | --rate
- [--reserved]
- [--project <project>]
- [--domain <domain>]
-
-.. option:: --absolute
-
- Show absolute limits
-
-.. option:: --rate
-
- Show rate limits
-
-.. option:: --reserved
-
- Include reservations count [only valid with :option:`--absolute`]
-
-.. option:: --project <project>
-
- Show limits for a specific project (name or ID) [only valid with :option:`--absolute`]
-
-.. option:: --domain <domain>
-
- Domain the project belongs to (name or ID) [only valid with :option:`--absolute`]
+.. autoprogram-cliff:: openstack.common
+ :command: limits *