Browse Source

Fix bug reported from upstream, use \- in manpage descriptions

Antialize 15 năm trước cách đây
mục cha
commit
ebd423eac6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/manoutputter.cc

+ 1 - 1
src/manoutputter.cc

@@ -97,7 +97,7 @@ public:
 		for(QVector<QString>::const_iterator i = h->argn.constBegin(); i != h->argn.constEnd(); ++i)
 			fprintf(fd," \\fI<%s>\\fR", S(*i));
 		
-		fprintf(fd, "\n%s\n",S(h->desc));
+		fprintf(fd, "\n%s\n", S(QString(h->desc).replace("-", "\\-")));
 	}
 	
 	void endSwitch() {