| 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 | 7 import 'dart:io' show |
| 8 exit; | 8 exit; |
| 9 | 9 |
| 10 import 'command_line.dart' show | 10 import 'command_line.dart' show |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 const String frequentOptions = """ | 136 const String frequentOptions = """ |
| 137 Frequently used options: | 137 Frequently used options: |
| 138 | 138 |
| 139 -o <file> Generate the output into <file>. | 139 -o <file> Generate the output into <file>. |
| 140 -h Display this message (add -v for information about all options). | 140 -h Display this message (add -v for information about all options). |
| 141 """; | 141 """; |
| 142 | 142 |
| 143 const String allOptions = """ | 143 const String allOptions = """ |
| 144 Supported options: | 144 Supported options: |
| 145 | 145 |
| 146 -o <file>, --out=<file> | 146 -o <file>, --output=<file> |
| 147 Generate the output into <file>. | 147 Generate the output into <file>. |
| 148 | 148 |
| 149 -h, /h, /?, --help | 149 -h, /h, /?, --help |
| 150 Display this message (add -v for information about all options). | 150 Display this message (add -v for information about all options). |
| 151 | 151 |
| 152 -v, --verbose | 152 -v, --verbose |
| 153 Display verbose information. | 153 Display verbose information. |
| 154 | 154 |
| 155 -- | 155 -- |
| 156 Stop option parsing, the rest of the command line is assumed to be | 156 Stop option parsing, the rest of the command line is assumed to be |
| (...skipping 18 matching lines...) Expand all Loading... |
| 175 Compile the SDK from scratch instead of reading it from 'platform.dill'. | 175 Compile the SDK from scratch instead of reading it from 'platform.dill'. |
| 176 | 176 |
| 177 --fatal=errors | 177 --fatal=errors |
| 178 --fatal=warnings | 178 --fatal=warnings |
| 179 --fatal=nits | 179 --fatal=nits |
| 180 Makes messages of the given kinds fatal, that is, immediately stop the | 180 Makes messages of the given kinds fatal, that is, immediately stop the |
| 181 compiler with a non-zero exit-code. In --verbose mode, also display an | 181 compiler with a non-zero exit-code. In --verbose mode, also display an |
| 182 internal stack trace from the compiler. Multiple kinds can be separated by | 182 internal stack trace from the compiler. Multiple kinds can be separated by |
| 183 commas, for example, --fatal=errors,warnings. | 183 commas, for example, --fatal=errors,warnings. |
| 184 """; | 184 """; |
| OLD | NEW |