diff options
author | Elliott Hughes <enh@google.com> | 2015-05-07 21:56:31 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-05-08 09:03:12 -0700 |
commit | 02418b3e093b025ee9b9ae2e51a37810cc5322d6 (patch) | |
tree | e84789df0a2fb9db33fec27a1d97797c72fd0776 /adb/commandline.cpp | |
parent | d34c722c59b13c80f89cfdeaf45ff38a3a12a6c5 (diff) | |
download | system_core-02418b3e093b025ee9b9ae2e51a37810cc5322d6.zip system_core-02418b3e093b025ee9b9ae2e51a37810cc5322d6.tar.gz system_core-02418b3e093b025ee9b9ae2e51a37810cc5322d6.tar.bz2 |
Try to include the SHA in a ddmslib-compatible way.
Bug: http://b/20918202
Change-Id: I0c1a48459372b0d28aaf9d09d82540e44b438c9c
(cherry picked from commit f3bbfa6a216669c4cd91d5f936662e89e0ae07ca)
Diffstat (limited to 'adb/commandline.cpp')
-rw-r--r-- | adb/commandline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/commandline.cpp b/adb/commandline.cpp index 1d71975..af05dc0 100644 --- a/adb/commandline.cpp +++ b/adb/commandline.cpp @@ -66,8 +66,8 @@ static std::string product_file(const char *extra) { } static void version(FILE* out) { - fprintf(out, "Android Debug Bridge version %d.%d.%d %s\n", ADB_VERSION_MAJOR, - ADB_VERSION_MINOR, ADB_SERVER_VERSION, ADB_REVISION); + fprintf(out, "Android Debug Bridge version %d.%d.%d\nRevision %s\n", + ADB_VERSION_MAJOR, ADB_VERSION_MINOR, ADB_SERVER_VERSION, ADB_REVISION); } static void help() { |