OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 driver; | 5 library driver; |
6 | 6 |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 | 8 |
9 import 'package:analysis_server/http_server.dart'; | 9 import 'package:analysis_server/http_server.dart'; |
10 import 'package:analysis_server/src/socket_server.dart'; | 10 import 'package:analysis_server/src/socket_server.dart'; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 }); | 133 }); |
134 } | 134 } |
135 | 135 |
136 /** | 136 /** |
137 * Print information about how to use the server. | 137 * Print information about how to use the server. |
138 */ | 138 */ |
139 void _printUsage(ArgParser parser) { | 139 void _printUsage(ArgParser parser) { |
140 print('Usage: $BINARY_NAME [flags]'); | 140 print('Usage: $BINARY_NAME [flags]'); |
141 print(''); | 141 print(''); |
142 print('Supported flags are:'); | 142 print('Supported flags are:'); |
143 print(parser.getUsage()); | 143 print(parser.usage); |
144 } | 144 } |
145 } | 145 } |
OLD | NEW |