OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 options; | 5 library options; |
6 | 6 |
7 import 'package:args/args.dart'; | 7 import 'package:args/args.dart'; |
8 | 8 |
9 import 'dart:io'; | 9 import 'dart:io'; |
10 | 10 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 for ( ; i < args.length; ++i) { | 190 for ( ; i < args.length; ++i) { |
191 if (args[i].startsWith('--')) { | 191 if (args[i].startsWith('--')) { |
192 return i; | 192 return i; |
193 } | 193 } |
194 } | 194 } |
195 return i; | 195 return i; |
196 } | 196 } |
197 | 197 |
198 } | 198 } |
199 | 199 |
OLD | NEW |