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
This commit is contained in:
Eric Fried 2019-10-31 18:38:21 -05:00 committed by Stephen Finucane
parent 8387b114e3
commit 284c38bcf2
1 changed files with 3 additions and 0 deletions

View File

@ -263,6 +263,9 @@ autoprogram_cliff_ignored = [
'--help', '--format', '--column', '--max-width', '--fit-width',
'--print-empty', '--prefix', '--noindent', '--quote']
# Prevent cliff from generating "This command is provided by the
# python-openstackclient plugin."
autoprogram_cliff_app_dist_name = 'python-openstackclient'
# -- Options for sphinxcontrib.apidoc ----------------------------------------