aboutsummaryrefslogtreecommitdiffstats
path: root/adb/commandline.c
diff options
context:
space:
mode:
authorTim <tdhutt@gmail.com>2010-02-16 20:18:29 +0000
committerJean-Baptiste Queru <jbq@google.com>2010-04-29 07:41:50 -0700
commitcd64315f72537359537c66eebe482495ffefba57 (patch)
treee39fa5795cb84db40ac9f8fe9ea89945b5323375 /adb/commandline.c
parent26bb6e92ba392b28eb2edabb639f8750f859ce20 (diff)
downloadsystem_core-cd64315f72537359537c66eebe482495ffefba57.tar.gz
system_core-cd64315f72537359537c66eebe482495ffefba57.tar.bz2
system_core-cd64315f72537359537c66eebe482495ffefba57.zip
Add documentation for some adb environmental variables.
The ADB_TRACE one is particularly important. Change-Id: I125a5930c43065c8cf505eea40d20e3f209bc858
Diffstat (limited to 'adb/commandline.c')
-rw-r--r--adb/commandline.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/adb/commandline.c b/adb/commandline.c
index bb77c4fc..8003a644 100644
--- a/adb/commandline.c
+++ b/adb/commandline.c
@@ -170,6 +170,12 @@ void help()
"\n"
" - If it is \"system\" or \"data\", only the corresponding partition\n"
" is updated.\n"
+ "\n"
+ "environmental variables:\n"
+ " ADB_TRACE - Print debug information. A comma separated list of the following values\n"
+ " 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp\n"
+ " ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.\n"
+ " ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.\n"
);
}