Skip to content

Commit 284c38b

Browse files
Eric Friedstephenfin
authored andcommitted
Let autoprogram-cliff know who's running
The autoprogram-cliff directive has a habit of producing text like This command is provided by the $me plugin. which doesn't make any sense. Cliff recently added a config option whereby consumers can let it know who $me is so it can suppress that message where appropriate (while still producing it for $plugin, as intended). Depends-On: https://review.opendev.org/692464 Change-Id: I0d580fb1d34dd56740eb6d976caa795e0e951047
1 parent 8387b11 commit 284c38b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

doc/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@
263263
'--help', '--format', '--column', '--max-width', '--fit-width',
264264
'--print-empty', '--prefix', '--noindent', '--quote']
265265

266+
# Prevent cliff from generating "This command is provided by the
267+
# python-openstackclient plugin."
268+
autoprogram_cliff_app_dist_name = 'python-openstackclient'
266269

267270
# -- Options for sphinxcontrib.apidoc ----------------------------------------
268271

0 commit comments

Comments
 (0)