Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Side by Side Diff: pkg/analyzer_cli/README.md

Issue 2692203010: Remove older deprecated flags; more cleanup to the cli help args. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/src/command_line/arguments.dart ('k') | pkg/analyzer_cli/lib/src/options.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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`.
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/command_line/arguments.dart ('k') | pkg/analyzer_cli/lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698