Skip to content

Commit

Permalink
Substitute %(prog)s in description and epilog
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrik Haugen committed May 26, 2020
1 parent 458c975 commit 63cd64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxarg/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _try_add_parser_attribute(data, parser, attribname):
if not isinstance(attribval, str):
return
if len(attribval) > 0:
data[attribname] = attribval
data[attribname] = attribval % {'prog': data['prog']}


def _format_usage_without_prefix(parser):
Expand Down

0 comments on commit 63cd64c

Please sign in to comment.