diff options
| -rw-r--r-- | pear/scripts/pear.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in index 7cb2d64149..99d6d93c67 100644 --- a/pear/scripts/pear.in +++ b/pear/scripts/pear.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); |
