diff options
| author | 2017-04-17 21:26:47 +0000 | |
|---|---|---|
| committer | 2017-04-17 21:26:48 +0000 | |
| commit | 445452cda055221bda43d88f0317f808e24c52f2 (patch) | |
| tree | 5aba814b733722a5109b7b4aaafc29a45f0392ff | |
| parent | 4bb9a2b0b2fb2db93005740b969831114632d0b6 (diff) | |
| parent | 4707af81bc10bda1c4320288246170e444c69942 (diff) | |
Merge "Print runtime isa when invoking 'dalvikvm --showversion'"
| -rw-r--r-- | runtime/parsed_options.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc index 0784e599b5..8ffd8bbc90 100644 --- a/runtime/parsed_options.cc +++ b/runtime/parsed_options.cc @@ -476,7 +476,10 @@ bool ParsedOptions::DoParse(const RuntimeOptions& options, Usage(nullptr); return false; } else if (args.Exists(M::ShowVersion)) { - UsageMessage(stdout, "ART version %s\n", Runtime::GetVersion()); + UsageMessage(stdout, + "ART version %s %s\n", + Runtime::GetVersion(), + GetInstructionSetString(kRuntimeISA)); Exit(0); } else if (args.Exists(M::BootClassPath)) { LOG(INFO) << "setting boot class path to " << *args.Get(M::BootClassPath); |