Missing description of subcommad 'list-extensions' in cinder help information.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Wishlist
|
zhangdaolong |
Bug Description
Now the current cinderclient version default use v3 interface. And the do_list_extensions of V3 inherited V2.
The do_list_extensions of V2 does not have __doc__.For the cli-reference, there is a specific docs tool used
to auto-generate the cli-reference files.The docs tool find the function __doc__ that starts with 'do_',as The do_list_
python-
-------
def _find_actions(self, subparsers, actions_module, version,
for attr in (a for a in dir(actions_module) if a.startswith(
# I prefer to be hyphen-separated instead of underscores.
command = attr[3:
desc = callback.__doc__ or ''
.......
The OpenStack contributor guide has instructions. The guide has a chapter on how to use the docs
tools - https:/
Specifically, the chapter on the command line reference explains how the tool works - https:/
cinder help
-------
........
unmanage Stop managing a volume.
upload-to-image Uploads volume to Image Service as an image.
version-list List all API versions. (Supported by API versions 3.0
bash-completion Prints arguments for bash_completion.
help Shows help about this program or one of its
list-extensions ---->No description information
........
-------
the subcommand 'list-extensions' does not have description,
as the cinder Command-Line Interface of files are automatically[1] generated
.Resulting in the same lack of information in the document
https:/
-------
........
version-list
List all API versions. (Supported by API versions 3.0 - 3.latest) [hint: use '--os-volume-
bash-completion
Prints arguments for bash_completion.
help
Shows help about this program or one of its subcommands.
list-extensions ----->No description information
-------
Generate Command-Line Interface Reference
[1]:https:/
Changed in python-cinderclient: | |
assignee: | nobody → zhangdaolong (zhangdaolong) |
description: | updated |
Changed in python-cinderclient: | |
importance: | Undecided → Wishlist |
Fix proposed to branch: master /review. openstack. org/448546
Review: https:/