From 545ef92c0ebc80c2b865bcd938cceb2555ca9dbe Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sun, 2 Jun 2002 10:02:28 +0000 Subject: * make output of "config-get" easier to parse --- pear/PEAR/Command/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pear/PEAR/Command/Config.php b/pear/PEAR/Command/Config.php index 0fe768fc7c..296119e286 100644 --- a/pear/PEAR/Command/Config.php +++ b/pear/PEAR/Command/Config.php @@ -115,9 +115,9 @@ in. The default layer is "user". if (sizeof($params) < 1 || sizeof($params) > 2) { return $this->raiseError("config-get expects 1 or 2 parameters"); } elseif (sizeof($params) == 1) { - $this->ui->outputData("$params[0] = " . $this->config->get($params[0]), $command); + $this->ui->outputData("$params[0]=" . $this->config->get($params[0]), $command); } else { - $data = "($params[1])$params[0] = " .$this->config->get($params[0], $params[1]); + $data = "$params[1].$params[0]=" .$this->config->get($params[0], $params[1]); $this->ui->outputData($data, $command); } return true; -- cgit v1.2.1