cvs: php4 /pear/scripts pear.in

From: Date: Tue, 14 May 2002 01:45:21 +0000
Subject: cvs: php4 /pear/scripts pear.in
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-3814@lists.php.net to get a copy of this message
ssb Mon May 13 21:45:21 2002 EDT Modified files: /php4/pear/scripts pear.in Log: * moved the {config xxx} help message substitution to PEAR_Command_Common::getHelp Index: php4/pear/scripts/pear.in diff -u php4/pear/scripts/pear.in:1.46 php4/pear/scripts/pear.in:1.47 --- php4/pear/scripts/pear.in:1.46 Sun May 12 19:21:30 2002 +++ php4/pear/scripts/pear.in Mon May 13 21:45:20 2002 @@ -217,7 +217,6 @@ " -h, -? display help/usage (this message)\n"; } elseif ($help = PEAR_Command::getHelp($command)) { if (is_string($help)) { - $help = preg_replace('/{config\s+([^\}]+)}/e', "\$config->get('\1')", $help); return "Usage : $help"; } return "Usage : $progname $command {$help[0]}\n{$help[1]}";

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