56
51
outfile.write(man_escape(man_head % params))
57
52
outfile.write(man_escape(getcommand_list(params)))
58
53
outfile.write(man_escape(getcommand_help(params)))
60
54
outfile.write(man_escape(man_foot % params))
64
58
"""Escapes strings for man page compatibility"""
65
59
result = string.replace("\\","\\\\")
68
62
result = result.replace("-","\\-")