summaryrefslogtreecommitdiffstats
path: root/makeapi
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-05-30 10:36:48 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-03 09:00:34 +0200
commit98ede1b0e8c8473d6910fab2328dbc81d740945c (patch)
tree911f5f673e8f1a8096c8d57d3a3e9c95b405c7ac /makeapi
parent4c7be74526bd89ed1b481f3a1ac4bb467ee0ea2c (diff)
downloadfreeipa-98ede1b0e8c8473d6910fab2328dbc81d740945c.tar.gz
freeipa-98ede1b0e8c8473d6910fab2328dbc81d740945c.tar.xz
freeipa-98ede1b0e8c8473d6910fab2328dbc81d740945c.zip
parameters: introduce cli_metavar keyword argument
Add new Param keyword argument cli_metavar to specify the stand-in for CLI option arguments in command help text. Uppercase class name is used by default. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'makeapi')
-rwxr-xr-xmakeapi1
1 files changed, 1 insertions, 0 deletions
diff --git a/makeapi b/makeapi
index 309bad8d6..8ecdf71f6 100755
--- a/makeapi
+++ b/makeapi
@@ -47,6 +47,7 @@ API_DOC_ERROR = 8
# attributes removed from Param.__kw dictionary
PARAM_IGNORED_KW_ATTRIBUTES = (
'attribute',
+ 'cli_metavar',
'default_from',
'doc',
'exclude',