diff options
| author | Eric Fried <openstack@fried.cc> | 2019-11-04 16:02:31 -0600 |
|---|---|---|
| committer | Eric Fried <openstack@fried.cc> | 2019-11-05 07:09:05 -0600 |
| commit | c6266b5ab22b911ae7e0ca5077d0c04a23dabca9 (patch) | |
| tree | 8e2f4ff670b4b272184ecc877cd9838b5ad4873b /doc/source/cli/command-objects/console-log.rst | |
| parent | da56b8f4cf15cc5a77249b680dd0c4d05137be9a (diff) | |
| download | python-openstackclient-c6266b5ab22b911ae7e0ca5077d0c04a23dabca9.tar.gz | |
compute: autogenerate docs
$namespace = openstack.compute.v2
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.
Many of these were already being generated. Some were missing a few
sub-subcommands, so those are added.
Change-Id: I1aa4b2655bafd2f6a5d83b658742f65d180eb128
Diffstat (limited to 'doc/source/cli/command-objects/console-log.rst')
| -rw-r--r-- | doc/source/cli/command-objects/console-log.rst | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/doc/source/cli/command-objects/console-log.rst b/doc/source/cli/command-objects/console-log.rst index bcb23e70..46ef370d 100644 --- a/doc/source/cli/command-objects/console-log.rst +++ b/doc/source/cli/command-objects/console-log.rst @@ -6,22 +6,5 @@ Server console text dump Compute v2 -console log show ----------------- - -Show server's console output - -.. program:: console log show -.. code:: bash - - openstack console log show - [--lines <num-lines>] - <server> - -.. option:: --lines <num-lines> - - Number of lines to display from the end of the log (default=all) - -.. describe:: <server> - - Server to show log console log (name or ID) +.. autoprogram-cliff:: openstack.compute.v2 + :command: console log * |
