Index: trunk/phase3/maintenance/mcc.php |
— | — | @@ -138,7 +138,9 @@ |
139 | 139 | |
140 | 140 | case 'history': |
141 | 141 | if ( function_exists( 'readline_list_history' ) ) { |
142 | | - print_r(readline_list_history()); |
| 142 | + foreach( readline_list_history() as $num => $line) { |
| 143 | + print "$num: $line\n"; |
| 144 | + } |
143 | 145 | } else { |
144 | 146 | print "readline_list_history() not available\n"; |
145 | 147 | } |