[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] cvs: phd / config.php
From: "Hannes Magnusson" <bjori () php ! net>
Date: 2007-12-30 14:34:35
Message-ID: cvsbjori1199025275 () cvsserver
[Download RAW message or body]
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":
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic