OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 analyzer_cli.src.options; | |
6 | |
7 import 'dart:io'; | 5 import 'dart:io'; |
8 | 6 |
9 import 'package:analyzer/file_system/physical_file_system.dart'; | 7 import 'package:analyzer/file_system/physical_file_system.dart'; |
10 import 'package:analyzer/src/command_line/arguments.dart'; | 8 import 'package:analyzer/src/command_line/arguments.dart'; |
11 import 'package:analyzer/src/context/builder.dart'; | 9 import 'package:analyzer/src/context/builder.dart'; |
12 import 'package:analyzer_cli/src/ansi.dart' as ansi; | 10 import 'package:analyzer_cli/src/ansi.dart' as ansi; |
13 import 'package:analyzer_cli/src/driver.dart'; | 11 import 'package:analyzer_cli/src/driver.dart'; |
14 import 'package:args/args.dart'; | 12 import 'package:args/args.dart'; |
15 import 'package:cli_util/cli_util.dart' show getSdkDir; | 13 import 'package:cli_util/cli_util.dart' show getSdkDir; |
16 | 14 |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 'Usage: $_binaryName [options...] <directory or list of files>'); | 557 'Usage: $_binaryName [options...] <directory or list of files>'); |
560 errorSink.writeln(''); | 558 errorSink.writeln(''); |
561 errorSink.writeln(parser.usage); | 559 errorSink.writeln(parser.usage); |
562 errorSink.writeln(''); | 560 errorSink.writeln(''); |
563 errorSink.writeln(''' | 561 errorSink.writeln(''' |
564 Run "dartanalyzer -h -v" for verbose help output, including less commonly used o
ptions. | 562 Run "dartanalyzer -h -v" for verbose help output, including less commonly used o
ptions. |
565 For more information, see http://www.dartlang.org/tools/analyzer. | 563 For more information, see http://www.dartlang.org/tools/analyzer. |
566 '''); | 564 '''); |
567 } | 565 } |
568 } | 566 } |
OLD | NEW |