| OLD | NEW |
| 1 # dartanalyzer | 1 # dartanalyzer |
| 2 | 2 |
| 3 Use _dartanalyzer_ to statically analyze your code at the command line, | 3 Use _dartanalyzer_ to statically analyze your code at the command line, |
| 4 checking for errors and warnings that are specified in the | 4 checking for errors and warnings that are specified in the |
| 5 [Dart Language Specification](https://www.dartlang.org/docs/spec/). | 5 [Dart Language Specification](https://www.dartlang.org/docs/spec/). |
| 6 DartPad, code editors, and IDEs such as WebStorm use the same | 6 DartPad, code editors, and IDEs such as WebStorm use the same |
| 7 analysis engine that dartanalyzer uses. | 7 analysis engine that dartanalyzer uses. |
| 8 | 8 |
| 9 ## Basic usage | 9 ## Basic usage |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 * `--format=machine`<br> | 62 * `--format=machine`<br> |
| 63 Produce output in a format suitable for parsing. | 63 Produce output in a format suitable for parsing. |
| 64 | 64 |
| 65 * `--url-mapping=libraryUri,/path/to/library.dart`<br> | 65 * `--url-mapping=libraryUri,/path/to/library.dart`<br> |
| 66 Tells the analyzer to use the specified library as the source | 66 Tells the analyzer to use the specified library as the source |
| 67 for that particular import. | 67 for that particular import. |
| 68 | 68 |
| 69 The following options are deprecated: | 69 The following options are deprecated: |
| 70 | 70 |
| 71 * `-p` _or_ `--package-root=`<br> | 71 * `--package-root=`<br> |
| 72 **Deprecated.** Specify the directory to search for any libraries that are | 72 **Deprecated.** Specify the directory to search for any libraries that are |
| 73 imported using `package:`. _This option is replaced as of Dart 1.12 with | 73 imported using `package:`. _This option is replaced as of Dart 1.12 with |
| 74 `--packages`._ | 74 `--packages`._ |
| 75 | 75 |
| 76 * `--machine`<br> | |
| 77 **Deprecated.** Replaced by `--format`. | |
| 78 | |
| 79 * `--show-package-warnings`<br> | 76 * `--show-package-warnings`<br> |
| 80 **Deprecated.** Replaced by `--package-warnings`. | 77 **Deprecated.** Replaced by `--package-warnings`. |
| 81 | 78 |
| 82 * `--show-sdk-warnings`<br> | 79 * `--show-sdk-warnings`<br> |
| 83 **Deprecated.** Replaced by `--warnings`. | 80 **Deprecated.** Replaced by `--warnings`. |
| OLD | NEW |