summaryrefslogtreecommitdiff
path: root/pear/PEAR/Command
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-10-12 13:43:41 +0000
committerStig Bakken <ssb@php.net>2002-10-12 13:43:41 +0000
commitc0c85a8c770916d00e98659503fc1bdf3c1fd70a (patch)
tree3649458255f481ba35e05475a4414eed6b8243db /pear/PEAR/Command
parent89f4f7b8f5bca483c0ed1db83d8b901a895dacb6 (diff)
downloadphp-git-c0c85a8c770916d00e98659503fc1bdf3c1fd70a.tar.gz
* CLI layout adjustment
Diffstat (limited to 'pear/PEAR/Command')
-rw-r--r--pear/PEAR/Command/Common.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/pear/PEAR/Command/Common.php b/pear/PEAR/Command/Common.php
index 789d534968..7734130a67 100644
--- a/pear/PEAR/Command/Common.php
+++ b/pear/PEAR/Command/Common.php
@@ -210,7 +210,9 @@ class PEAR_Command_Common extends PEAR
} else {
$help .= " --$k$lapp\n";
}
- $help .= " $v[doc]\n";
+ $p = " ";
+ $doc = rtrim(str_replace("\n", "\n$p", $v['doc']));
+ $help .= " $doc\n";
}
return $help;
}