diff options
author | Stig Bakken <ssb@php.net> | 2002-06-02 10:02:28 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2002-06-02 10:02:28 +0000 |
commit | 545ef92c0ebc80c2b865bcd938cceb2555ca9dbe (patch) | |
tree | 632bd081333f7f344f7652abc8499fe1390d8ae2 | |
parent | 5051496b91c32538512737afb38637bb2ec037ef (diff) | |
download | php-git-545ef92c0ebc80c2b865bcd938cceb2555ca9dbe.tar.gz |
* make output of "config-get" easier to parse
-rw-r--r-- | pear/PEAR/Command/Config.php | 4 |
1 files 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; |