| Index: pkg/analyzer_experimental/lib/options.dart
|
| diff --git a/pkg/analyzer_experimental/lib/options.dart b/pkg/analyzer_experimental/lib/options.dart
|
| index efa3b5f5266554e5fd54b5a440f78073b9867388..9b3ffac04d1857ae0ac8629220f3ef09871bf6e1 100644
|
| --- a/pkg/analyzer_experimental/lib/options.dart
|
| +++ b/pkg/analyzer_experimental/lib/options.dart
|
| @@ -26,6 +26,9 @@ class CommandLineOptions {
|
| /** Whether to display version information */
|
| final bool displayVersion;
|
|
|
| + /** Whether to report hints */
|
| + final bool disableHints;
|
| +
|
| /** Whether to ignore unrecognized flags */
|
| final bool ignoreUnrecognizedFlags;
|
|
|
| @@ -57,6 +60,7 @@ class CommandLineOptions {
|
| : shouldBatch = args['batch'],
|
| machineFormat = args['machine'],
|
| displayVersion = args['version'],
|
| + disableHints = args['no-hints'],
|
| ignoreUnrecognizedFlags = args['ignore-unrecognized-flags'],
|
| perf = args['perf'],
|
| showPackageWarnings = args['show-package-warnings'],
|
| @@ -102,6 +106,8 @@ class CommandLineOptions {
|
| defaultsTo: false, negatable: false)
|
| ..addFlag('version', help: 'Print the analyzer version',
|
| defaultsTo: false, negatable: false)
|
| + ..addFlag('no-hints', help: 'Do not show hint results',
|
| + defaultsTo: false, negatable: false)
|
| ..addFlag('ignore-unrecognized-flags',
|
| help: 'Ignore unrecognized command line flags',
|
| defaultsTo: false, negatable: false)
|
|
|