瀏覽代碼

Tweek manual

Antialize 16 年之前
父節點
當前提交
831efc4522
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      src/docparts.cc
  2. 3 2
      src/htmloutputter.cc

+ 1 - 1
src/docparts.cc

@@ -49,7 +49,7 @@ void CommandLineParserPrivate::outputLicense(Outputter * o) const {
 	o->beginParagraph();
 	o->text("License GPLv3+: GNU GPL version 3 or later ");
 	o->link("http://gnu.org/licenses/gpl.html");
-	o->text("This is free software: you are free to change and redistribute it. "
+	o->text(". This is free software: you are free to change and redistribute it. "
 			"There is NO WARRANTY, to the extent permitted by law.");
 	o->endParagraph();
 }

+ 3 - 2
src/htmloutputter.cc

@@ -34,7 +34,8 @@ public:
 				"    body {width: 70em}\n"
 				"    .short {font-weight: bold; width:2em}\n"
 				"    .long {font-weight: bold; width: 15em}\n"
-				"    .arg {font-style: italic; width: 7em}\n"
+				"    .arg {font-style: italic; width: 12em}\n"
+				"    tr {vertical-align: top}\n"
 				"  </style>\n"
 				"</head><body>");
 	}
@@ -102,7 +103,7 @@ public:
 		fprintf(fd, "</td><td class=\"long\">--%s%s</td><td class=\"arg\">",S(h->longName),
 				(h->qthack?"<span style=\"font-weight: normal; font-size: 80%; color:red;\">*</span>":""));
 		foreach(const QString & arg, h->argn)
-			fprintf(fd, "&lt;%s&gt;",S(arg));
+			fprintf(fd, "&lt;%s&gt; ",S(arg));
 		fprintf(fd, "</td><td class=\"desc\">%s</td></tr>\n",S(h->getDesc()));
 	}