diff options
author | Elliott Hughes <enh@google.com> | 2017-04-04 01:16:10 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-04-04 01:16:11 +0000 |
commit | d2d8b68f70c35355d17a1ffd9079723f9cce5717 (patch) | |
tree | 86aba03422d9f6770006b2f75b1ae47d06d7650a /fastboot | |
parent | ca8954f7b82dd2c989a42aeb8ef20b358f096da2 (diff) | |
parent | 1fd46dfa7266337324ca4429676a278a904192ba (diff) | |
download | core-d2d8b68f70c35355d17a1ffd9079723f9cce5717.tar.gz core-d2d8b68f70c35355d17a1ffd9079723f9cce5717.tar.bz2 core-d2d8b68f70c35355d17a1ffd9079723f9cce5717.zip |
Merge "Show install path in "adb --version" and "fastboot --version"."
Diffstat (limited to 'fastboot')
-rw-r--r-- | fastboot/fastboot.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 7dfb44549..704dc43bf 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -1539,6 +1539,7 @@ int main(int argc, char **argv) setvbuf(stderr, nullptr, _IONBF, 0); } else if (strcmp("version", longopts[longindex].name) == 0) { fprintf(stdout, "fastboot version %s\n", FASTBOOT_REVISION); + fprintf(stdout, "Installed as %s\n", android::base::GetExecutablePath().c_str()); return 0; } else if (strcmp("slot", longopts[longindex].name) == 0) { slot_override = std::string(optarg); |