From ad027ef6dbfeebabe0e6701eec968e9d474e497f Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Wed, 25 Mar 2015 16:06:11 -0700 Subject: man: Use \- to denote dashes. Fixes #512 --- man/docgen | 2 ++ 1 file changed, 2 insertions(+) (limited to 'man') diff --git a/man/docgen b/man/docgen index d9535be8..3b11ad8c 100755 --- a/man/docgen +++ b/man/docgen @@ -425,6 +425,8 @@ def manpage_output(targets, template_file): for t in targets: content += t.manpage_output() + "\n" + content = content.replace("-", "\\-") + print_template(template_file, content) def wiki_output(targets, template): -- cgit v1.2.3