OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52245c9
)
word-wrap command descriptions
author
scribu
<mail@scribu.net>
Sat, 11 Jan 2014 07:52:44 +0000
(09:52 +0200)
committer
scribu
<mail@scribu.net>
Sat, 11 Jan 2014 07:52:44 +0000
(09:52 +0200)
php/commands/help.php
patch
|
blob
|
history
diff --git
a/php/commands/help.php
b/php/commands/help.php
index
46cf470
..
a3f42d3
100644
(file)
--- a/
php/commands/help.php
+++ b/
php/commands/help.php
@@
-47,7
+47,7
@@
class Help_Command extends WP_CLI_Command {
$longdesc = $command->get_longdesc();
if ( $longdesc ) {
- $out .=
$longdesc
. "\n";
+ $out .=
wordwrap( $longdesc, 79 )
. "\n";
}
// section headers