We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 458c975 commit 63cd64cCopy full SHA for 63cd64c
sphinxarg/parser.py
@@ -37,7 +37,7 @@ def _try_add_parser_attribute(data, parser, attribname):
37
if not isinstance(attribval, str):
38
return
39
if len(attribval) > 0:
40
- data[attribname] = attribval
+ data[attribname] = attribval % {'prog': data['prog']}
41
42
43
def _format_usage_without_prefix(parser):
0 commit comments