ref: ad027ef6dbfeebabe0e6701eec968e9d474e497f
parent: 70e39d13808d9a6de004bde9570a2db001cc95e4
author: Mike Swanson <[email protected]>
date: Wed Mar 25 12:06:11 EDT 2015
man: Use \- to denote dashes. Fixes #512
--- a/man/docgen
+++ b/man/docgen
@@ -425,6 +425,8 @@
for t in targets:
content += t.manpage_output() + "\n"
+ content = content.replace("-", "\\-")
+
print_template(template_file, content)
def wiki_output(targets, template):