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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user