Merge "Clean up array() syntax in docs, part IV"
[lhc/web/wiklou.git] / maintenance / Maintenance.php
index 8368aab..ab316c0 100644 (file)
@@ -907,7 +907,7 @@ abstract class Maintenance {
 
                // Description ...
                if ( $this->mDescription ) {
-                       $this->output( "\n" . $this->mDescription . "\n" );
+                       $this->output( "\n" . wordwrap( $this->mDescription, $screenWidth ) . "\n" );
                }
                $output = "\nUsage: php " . basename( $this->mSelf );