summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-07 21:56:31 -0700
committerElliott Hughes <enh@google.com>2015-05-08 09:03:12 -0700
commit02418b3e093b025ee9b9ae2e51a37810cc5322d6 (patch)
treee84789df0a2fb9db33fec27a1d97797c72fd0776 /adb
parentd34c722c59b13c80f89cfdeaf45ff38a3a12a6c5 (diff)
downloadsystem_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')
-rw-r--r--adb/commandline.cpp4
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() {