Merge pull request #1158 from jpmens/man01

documentation: man template: support empty options; add Version
This commit is contained in:
Michael DeHaan 2012-09-30 05:00:39 -07:00
commit b96da3e5b0
2 changed files with 2 additions and 2 deletions

View file

@ -161,4 +161,4 @@ deb: debian
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
manpages:
hacking/module_formatter.py -t man -o docs/man/man1/ --module-dir=library --template-dir=hacking/templates
hacking/module_formatter.py -A $(VERSION) -t man -o docs/man/man1/ --module-dir=library --template-dir=hacking/templates

View file

@ -11,7 +11,7 @@
." ------ OPTIONS
."
."
{% if options is defined -%}
{% if options -%}
.SH OPTIONS
{% for (k,v) in options.iteritems() %}
.IP @{ k }@