diff options
| author | Jan Cholasta <jcholast@redhat.com> | 2016-05-30 10:36:48 +0200 |
|---|---|---|
| committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-03 09:00:34 +0200 |
| commit | 98ede1b0e8c8473d6910fab2328dbc81d740945c (patch) | |
| tree | 911f5f673e8f1a8096c8d57d3a3e9c95b405c7ac /makeapi | |
| parent | 4c7be74526bd89ed1b481f3a1ac4bb467ee0ea2c (diff) | |
| download | freeipa-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-x | makeapi | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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', |
