cvs: phd / config.php
| From: | Hannes Magnusson | Date: | Sun, 30 Dec 2007 14:34:35 +0000 |
| Subject: | cvs: phd / config.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-939@lists.php.net to get a copy of this message | ||
bjori Sun Dec 30 14:34:35 2007 UTC
Modified files:
/phd config.php
Log:
Add missing new lines
http://cvs.php.net/viewvc.cgi/phd/config.php?r1=1.14&r2=1.15&diff_format=u
Index: phd/config.php
diff -u phd/config.php:1.14 phd/config.php:1.15
--- phd/config.php:1.14 Sun Dec 30 14:26:34 2007
+++ phd/config.php Sun Dec 30 14:34:35 2007
@@ -1,5 +1,5 @@
<?php
-/* $Id: config.php,v 1.14 2007/12/30 14:26:34 bjori Exp $ */
+/* $Id: config.php,v 1.15 2007/12/30 14:34:35 bjori Exp $ */
function v($msg) {
$args = func_get_args();
@@ -85,11 +85,11 @@
case "d":
case "docbook":
if (is_array($v)) {
- v("Can only parse one file at a time");
+ v("Can only parse one file at a time\n");
exit(-1);
}
if (!file_exists($v) || is_dir($v) || !is_readable($v)) {
- v("'%s' is not a readable docbook file", $v);
+ v("'%s' is not a readable docbook file\n", $v);
exit(-1);
}
$OPTIONS["xml_root"] = dirname($v);
@@ -102,7 +102,7 @@
case "f":
case "format":
if ($v != "xhtml") {
- v("Only xhtml is supported at this time");
+ v("Only xhtml is supported at this time\n");
exit(-1);
}
break;
@@ -112,7 +112,7 @@
case "i":
case "index":
if (is_array($v)) {
- v("You cannot pass %s more than once", $k);
+ v("You cannot pass %s more than once\n", $k);
exit(-1);
}
switch ($v) {
@@ -127,7 +127,7 @@
$OPTIONS["index"] = false;
break;
default:
- v("yes/no || true/false || 1/0 expected");
+ v("yes/no || true/false || 1/0 expected\n");
exit(-1);
}
break;
@@ -167,7 +167,7 @@
}
break;
default:
- v("Unkown theme '%s'", $val);
+ v("Unkown theme '%s'\n", $val);
exit(-1);
}
}
@@ -205,7 +205,7 @@
case "V":
case "version":
v("PhD version: %s\n", PHD_VERSION);
- v("Copyright (c) 2007 The PHP Documentation Group");
+ v("Copyright (c) 2007 The PHP Documentation Group\n");
exit(0);
case "usage":