From: Marcus Boerger Date: Fri, 11 May 2007 21:31:29 +0000 (+0000) Subject: - Provide working wordwrap for command help X-Git-Tag: RELEASE_1_2_0~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49d8ee873aafb4deb725e205b267342b370c67e4;p=php - Provide working wordwrap for command help --- diff --git a/ext/phar/phar/clicommand.inc b/ext/phar/phar/clicommand.inc index 59982ffe41..c20075d2a8 100755 --- a/ext/phar/phar/clicommand.inc +++ b/ext/phar/phar/clicommand.inc @@ -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;