From ed16e6449806bf523a232bebea6e80c7fb5203b5 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Tue, 14 May 2002 01:45:20 +0000 Subject: [PATCH] * moved the {config xxx} help message substitution to PEAR_Command_Common::getHelp --- pear/scripts/pear.in | 1 - 1 file changed, 1 deletion(-) diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in index fbc2bc05e5..7cb2d64149 100644 --- a/pear/scripts/pear.in +++ b/pear/scripts/pear.in @@ -217,7 +217,6 @@ function cmdHelp($command) " -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]}"; -- 2.50.1