sphinxext: wrong formatting for --foo-bar style mandatory argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
Fix Released
|
Undecided
|
Akihiro Motoki |
Bug Description
When --foo-bar style mandatory option is used, autoprogram-cliff sphinx extensions renders the usage wrongly.
Note that option references are rendered correctly.
This only happens when rendering usage summary.
For example, https:/
openstack network trunk create
[-f {json,shell,
[-c COLUMN]
[--prefix PREFIX]
[--noindent]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--description <description>]
--parent
-p
ort
<parent-port>
[--subport <port=,
[--enable | --disable]
[--project <project>]
[--
<name>
Changed in python-cliff: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
status: | New → In Progress |
Here is a patch: https:/ /review. openstack. org/#/c/ 486562/