Remove --checked from dart --help

We no longer mention `--preview-dart-2`, we shouldn't mention
`--checked` either.

Change-Id: Ib878bf56c61f13f3ec6faacaa59ff9c7f307f7ba
Reviewed-on: https://dart-review.googlesource.com/68840
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
This commit is contained in:
Nate Bosch 2018-08-08 20:18:27 +00:00 committed by commit-bot@chromium.org
parent 77d6758afb
commit 235ccc9374

View file

@ -137,9 +137,6 @@ void Options::PrintUsage() {
if (!Options::verbose_option()) {
Log::PrintErr(
"Common options:\n"
"--checked or -c\n"
" Insert runtime type checks and enable assertions (checked mode, not\n"
" compatible with --preview-dart-2).\n"
"--enable-asserts\n"
" Enable assert statements.\n"
"--help or -h\n"
@ -171,9 +168,6 @@ void Options::PrintUsage() {
} else {
Log::PrintErr(
"Supported options:\n"
"--checked or -c\n"
" Insert runtime type checks and enable assertions (checked mode, not\n"
" compatible with --preview-dart-2).\n"
"--enable-asserts\n"
" Enable assert statements.\n"
"--help or -h\n"