Skip to content

Commit

Permalink
BF: provide appname (hardcoded to datalad) within BuildManPage to get…
Browse files Browse the repository at this point in the history
…_version()

BuildManPage ATM hardcodes for "datalad" being the module/app we care about.
And it should be just fine even if used in extensions since we do not expect
them to provide new independent commands (I guess)
  • Loading branch information
yarikoptic committed Aug 14, 2019
1 parent 40dac18 commit 652cd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_support.py
Expand Up @@ -108,7 +108,7 @@ def run(self):
cmdname = "{0}{1}".format(
'datalad ' if cmdname != 'datalad' else '',
cmdname)
format = cls(cmdname, ext_sections=sections, version=get_version())
format = cls(cmdname, ext_sections=sections, version=get_version(appname))
formatted = format.format_man_page(p)
with open(opj(opath, '{0}.{1}'.format(
cmdname.replace(' ', '-'),
Expand Down

0 comments on commit 652cd4d

Please sign in to comment.