| Index: pkg/analyzer_experimental/lib/options.dart
|
| diff --git a/pkg/analyzer_experimental/lib/options.dart b/pkg/analyzer_experimental/lib/options.dart
|
| index 37c6c8dab11ebf118b1ab686732d1141a637d784..efa3b5f5266554e5fd54b5a440f78073b9867388 100644
|
| --- a/pkg/analyzer_experimental/lib/options.dart
|
| +++ b/pkg/analyzer_experimental/lib/options.dart
|
| @@ -29,6 +29,9 @@ class CommandLineOptions {
|
| /** Whether to ignore unrecognized flags */
|
| final bool ignoreUnrecognizedFlags;
|
|
|
| + /** Whether to show performance statistics */
|
| + final bool perf;
|
| +
|
| /** Whether to show package: warnings */
|
| final bool showPackageWarnings;
|
|
|
| @@ -55,6 +58,7 @@ class CommandLineOptions {
|
| machineFormat = args['machine'],
|
| displayVersion = args['version'],
|
| ignoreUnrecognizedFlags = args['ignore-unrecognized-flags'],
|
| + perf = args['perf'],
|
| showPackageWarnings = args['show-package-warnings'],
|
| showSdkWarnings = args['show-sdk-warnings'],
|
| warningsAreFatal = args['fatal-warnings'],
|
| @@ -106,6 +110,9 @@ class CommandLineOptions {
|
| ..addFlag('show-package-warnings',
|
| help: 'Show warnings from package: imports',
|
| defaultsTo: false, negatable: false)
|
| + ..addFlag('perf',
|
| + help: 'Show performance statistics',
|
| + defaultsTo: false, negatable: false)
|
| ..addFlag('show-sdk-warnings', help: 'Show warnings from SDK imports',
|
| defaultsTo: false, negatable: false)
|
| ..addFlag('help', abbr: 'h', help: 'Display this help message',
|
|
|