1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00

Add "\n" after the error in usage()

This commit is contained in:
Tomas V.V.Cox
2002-05-14 17:58:44 +00:00
parent 1fe8df14c6
commit 5ea5758bcf
+2 -2
View File
@@ -175,9 +175,9 @@ function usage($error = null, $helpsubject = null)
$stderr = fopen('php://stderr', 'w');
fputs($stderr, "\n");
if (PEAR::isError($error)) {
fputs($stderr, $error->getMessage());
fputs($stderr, $error->getMessage() . "\n");
} elseif ($error !== null) {
fputs($stderr, $error);
fputs($stderr, "$error\n");
}
if ($helpsubject != null) {
$put = cmdHelp($helpsubject);