Index: trunk/tools/code-utils/find-long-functions.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | while( $tokens->valid() ) { |
34 | 34 | $token = $tokens->current(); |
35 | 35 | |
36 | | - # handles braces returned by token_get_all() as strings |
| 36 | + # handles braces returned as strings by token_get_all() |
37 | 37 | if( is_string( $token ) ) { |
38 | 38 | if( $token == '{' ) { |
39 | 39 | $state['depth']++; |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
126 | | - * Skip tokens until we reach the wanted token. Return it. |
| 126 | + * Skip tokens until we reach the wanted token, return it. |
127 | 127 | */ |
128 | 128 | function nextOfKind( $wanted_token_index ) { |
129 | 129 | $found = false; |
— | — | @@ -175,7 +175,7 @@ |
176 | 176 | |
177 | 177 | # Print usage when no source file given |
178 | 178 | if( $argc == 1 ) { |
179 | | - die( "Usage: $argv[0] <PHP_source_file>\n" ); |
| 179 | + die( "Usage: $argv[0] <PHP_source_file> [<PHP_source_file> [...]]\n" ); |
180 | 180 | } |
181 | 181 | array_shift( $argv ); // skip script name |
182 | 182 | |