Skip to content

Commit

Permalink
Fixing formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 28, 2010
1 parent a38846b commit a1124e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cake/console/cake.php
Expand Up @@ -625,14 +625,14 @@ function help() {
$columns = max(1, floor($width / 30));
$rows = ceil(count($shellList) / $columns);

foreach($shellList as $shell => $types) {
foreach ($shellList as $shell => $types) {
sort($types);
$shellList[$shell] = str_pad($shell . ' [' . implode ($types, ', ') . ']', $width / $columns);
}
$out = array_chunk($shellList, $rows);
for($i = 0; $i < $rows; $i++) {
for ($i = 0; $i < $rows; $i++) {
$row = '';
for($j = 0; $j < $columns; $j++) {
for ($j = 0; $j < $columns; $j++) {
if (!isset($out[$j][$i])) {
continue;
}
Expand Down

0 comments on commit a1124e3

Please sign in to comment.