]> granicus.if.org Git - php/commitdiff
- Provide working wordwrap for command help
authorMarcus Boerger <helly@php.net>
Fri, 11 May 2007 21:31:29 +0000 (21:31 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 11 May 2007 21:31:29 +0000 (21:31 +0000)
ext/phar/phar/clicommand.inc

index 59982ffe4198228069d3426f502db6835f822806..c20075d2a8071ed163cf6a78570b87fb17f4b181 100755 (executable)
@@ -259,7 +259,7 @@ abstract class CLICommand
                        {
                                $arg = "... ";
                        }
-                       $inf .= $sp . $arg . $conf['inf'] . "\n";
+                       $inf .= $this->cli_wordwrap($sp . $arg . $conf['inf'], $l, $sp) . "\n";
                        if ($conf['typ'] == 'select')
                        {
                                $l2 = 0;