summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-04-15 20:36:55 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-15 20:36:55 +0000
commit83ec00108676fa66cec470e886b87384bdf1e6a2 (patch)
tree567b3bbd42227f8c774131be063b8984de530da1 /adb
parent48030e68e5d2d763ab9c1ca88036837e1e4f3c08 (diff)
parenta77bef47decf2c0818397aced983999e235aa82f (diff)
downloadsystem_core-83ec00108676fa66cec470e886b87384bdf1e6a2.zip
system_core-83ec00108676fa66cec470e886b87384bdf1e6a2.tar.gz
system_core-83ec00108676fa66cec470e886b87384bdf1e6a2.tar.bz2
am a77bef47: Document the adb install -d option.
* commit 'a77bef47decf2c0818397aced983999e235aa82f': Document the adb install -d option.
Diffstat (limited to 'adb')
-rw-r--r--adb/commandline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/adb/commandline.c b/adb/commandline.c
index 83b568d..e0345a8 100644
--- a/adb/commandline.c
+++ b/adb/commandline.c
@@ -137,10 +137,11 @@ void help()
" adb forward --remove <local> - remove a specific forward socket connection\n"
" adb forward --remove-all - remove all forward socket connections\n"
" adb jdwp - list PIDs of processes hosting a JDWP transport\n"
- " adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>\n"
+ " adb install [-l] [-r] [-d] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>\n"
" - push this package file to the device and install it\n"
" ('-l' means forward-lock the app)\n"
" ('-r' means reinstall the app, keeping its data)\n"
+ " ('-d' means allow version code downgrade)\n"
" ('-s' means install on SD card instead of internal storage)\n"
" ('--algo', '--key', and '--iv' mean the file is encrypted already)\n"
" adb uninstall [-k] <package> - remove this app package from the device\n"