| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js; | 5 library dart2js; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 import 'dart:uri'; | 8 import 'dart:uri'; |
| 9 import 'dart:utf'; | 9 import 'dart:utf'; |
| 10 | 10 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 | 368 |
| 369 -h, /h, /?, --help | 369 -h, /h, /?, --help |
| 370 Display this message (add -v for information about all options). | 370 Display this message (add -v for information about all options). |
| 371 | 371 |
| 372 -v, --verbose | 372 -v, --verbose |
| 373 Display verbose information. | 373 Display verbose information. |
| 374 | 374 |
| 375 -p<path>, --package-root=<path> | 375 -p<path>, --package-root=<path> |
| 376 Where to find packages, that is, "package:..." imports. | 376 Where to find packages, that is, "package:..." imports. |
| 377 | 377 |
| 378 --analyze-all |
| 379 Analyze all code. Without this option, the compiler only analyzes |
| 380 code that is reachable from [main]. This option is useful for |
| 381 finding errors in libraries, but using it can result in bigger and |
| 382 slower output. |
| 383 |
| 378 --minify | 384 --minify |
| 379 Generate minified output. | 385 Generate minified output. |
| 380 | 386 |
| 381 --suppress-warnings | 387 --suppress-warnings |
| 382 Do not display any warnings. | 388 Do not display any warnings. |
| 383 | 389 |
| 384 --enable-diagnostic-colors | 390 --enable-diagnostic-colors |
| 385 Add colors to diagnostic messages. | 391 Add colors to diagnostic messages. |
| 386 | 392 |
| 387 The following options are only used for compiler development and may | 393 The following options are only used for compiler development and may |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 } catch (ignored) { | 440 } catch (ignored) { |
| 435 print('Internal error: error while printing exception'); | 441 print('Internal error: error while printing exception'); |
| 436 } | 442 } |
| 437 try { | 443 try { |
| 438 print(trace); | 444 print(trace); |
| 439 } finally { | 445 } finally { |
| 440 exit(253); // 253 is recognized as a crash by our test scripts. | 446 exit(253); // 253 is recognized as a crash by our test scripts. |
| 441 } | 447 } |
| 442 } | 448 } |
| 443 } | 449 } |
| OLD | NEW |