cvs: php4 /pear/scripts pear.in

From: Date: Tue, 14 May 2002 17:58:44 +0000
Subject: cvs: php4 /pear/scripts pear.in
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-3821@lists.php.net to get a copy of this message
cox Tue May 14 13:58:44 2002 EDT Modified files: /php4/pear/scripts pear.in Log: Add "\n" after the error in usage() Index: php4/pear/scripts/pear.in diff -u php4/pear/scripts/pear.in:1.47 php4/pear/scripts/pear.in:1.48 --- php4/pear/scripts/pear.in:1.47 Mon May 13 21:45:20 2002 +++ php4/pear/scripts/pear.in Tue May 14 13:58:44 2002 @@ -175,9 +175,9 @@ $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);

« previous php.pear.cvs (#3821) next »