| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta.compiler_command_line; | 5 library fasta.compiler_command_line; |
| 6 | 6 |
| 7 import 'dart:io' show exit; | 7 import 'dart:io' show exit; |
| 8 | 8 |
| 9 import 'command_line.dart' show CommandLine, argumentError; | 9 import 'command_line.dart' show CommandLine, argumentError; |
| 10 | 10 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 const String frequentOptions = """ | 132 const String frequentOptions = """ |
| 133 Frequently used options: | 133 Frequently used options: |
| 134 | 134 |
| 135 -o <file> Generate the output into <file>. | 135 -o <file> Generate the output into <file>. |
| 136 -h Display this message (add -v for information about all options). | 136 -h Display this message (add -v for information about all options). |
| 137 """; | 137 """; |
| 138 | 138 |
| 139 const String allOptions = """ | 139 const String allOptions = """ |
| 140 Supported options: | 140 Supported options: |
| 141 | 141 |
| 142 -o <file>, --out=<file> | 142 -o <file>, --output=<file> |
| 143 Generate the output into <file>. | 143 Generate the output into <file>. |
| 144 | 144 |
| 145 -h, /h, /?, --help | 145 -h, /h, /?, --help |
| 146 Display this message (add -v for information about all options). | 146 Display this message (add -v for information about all options). |
| 147 | 147 |
| 148 -v, --verbose | 148 -v, --verbose |
| 149 Display verbose information. | 149 Display verbose information. |
| 150 | 150 |
| 151 -- | 151 -- |
| 152 Stop option parsing, the rest of the command line is assumed to be | 152 Stop option parsing, the rest of the command line is assumed to be |
| (...skipping 18 matching lines...) Expand all Loading... |
| 171 Compile the SDK from scratch instead of reading it from 'platform.dill'. | 171 Compile the SDK from scratch instead of reading it from 'platform.dill'. |
| 172 | 172 |
| 173 --fatal=errors | 173 --fatal=errors |
| 174 --fatal=warnings | 174 --fatal=warnings |
| 175 --fatal=nits | 175 --fatal=nits |
| 176 Makes messages of the given kinds fatal, that is, immediately stop the | 176 Makes messages of the given kinds fatal, that is, immediately stop the |
| 177 compiler with a non-zero exit-code. In --verbose mode, also display an | 177 compiler with a non-zero exit-code. In --verbose mode, also display an |
| 178 internal stack trace from the compiler. Multiple kinds can be separated by | 178 internal stack trace from the compiler. Multiple kinds can be separated by |
| 179 commas, for example, --fatal=errors,warnings. | 179 commas, for example, --fatal=errors,warnings. |
| 180 """; | 180 """; |
| OLD | NEW |