Skip to content

Commit e24733e

Browse files
bkonyicommit-bot@chromium.org
authored andcommitted
[ VM ] Change version output message to reference SDK instead of VM
Fixes #42486 Change-Id: I99a2c6e01065098991e2952aa45f42c5e5636189 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152682 Reviewed-by: Jaime Wren <[email protected]> Commit-Queue: Ben Konyi <[email protected]>
1 parent bb8d145 commit e24733e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

runtime/bin/gen_snapshot.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ static void PrintUsage() {
157157
"--help \n"
158158
" Display this message (add --verbose for information about all VM options).\n"
159159
"--version \n"
160-
" Print the VM version. \n"
160+
" Print the SDK version. \n"
161161
" \n"
162162
"To create a core snapshot: \n"
163163
"--snapshot_kind=core \n"
@@ -235,7 +235,7 @@ static int ParseArguments(int argc,
235235
PrintUsage();
236236
Platform::Exit(0);
237237
} else if (version) {
238-
Syslog::PrintErr("Dart VM version: %s\n", Dart_VersionString());
238+
Syslog::PrintErr("Dart SDK version: %s\n", Dart_VersionString());
239239
Platform::Exit(0);
240240
}
241241

runtime/bin/main_options.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ DEFINE_BOOL_OPTION_CB(hot_reload_rollback_test_mode,
126126
hot_reload_rollback_test_mode_callback);
127127

128128
void Options::PrintVersion() {
129-
Syslog::PrintErr("Dart VM version: %s\n", Dart_VersionString());
129+
Syslog::PrintErr("Dart SDK version: %s\n", Dart_VersionString());
130130
}
131131

132132
// clang-format off
@@ -169,7 +169,7 @@ void Options::PrintUsage() {
169169
" kernel(default) or app-jit\n"
170170
" <file_name> specifies the file into which the snapshot is written\n"
171171
"--version\n"
172-
" Print the VM version.\n");
172+
" Print the SDK version.\n");
173173
} else {
174174
Syslog::PrintErr(
175175
"Supported options:\n"

0 commit comments

Comments
 (0)