summaryrefslogtreecommitdiffstats
path: root/adb/client/commandline.cpp
diff options
context:
space:
mode:
authorIdries Hamadi <idries@google.com>2018-09-06 18:42:39 +0100
committerIdries Hamadi <idries@google.com>2018-09-07 15:35:19 +0100
commit4af6ee4784cb729fb2bf2a6116c8bf4e1d78b744 (patch)
tree52daca30e19d3a171143721040576a3f2e01dbff /adb/client/commandline.cpp
parent1fd4b364fcdc95801d6cb4025dee7be1c0c93f4d (diff)
downloadsystem_core-4af6ee4784cb729fb2bf2a6116c8bf4e1d78b744.tar.gz
system_core-4af6ee4784cb729fb2bf2a6116c8bf4e1d78b744.tar.bz2
system_core-4af6ee4784cb729fb2bf2a6116c8bf4e1d78b744.zip
Small clean ups for issues raised in reviews of fastdeploy
Removed support for -f shortcut flag as this conflicts with some package manager flags Renamed use_localagent global to match conventions Fixed case where tmp files were created unnecessarily Removed dead code (delete_host_file) Cleaned up multiple layers of error handling by using fatal() as soon as error conditions occur Fix: 113631900 Test: mm Test: adb install -r --fastdeploy --nostreaming --force-agent --local-agent ~/example_apks/example.apk Test: adb install -r --fastdeploy --no-streaming --force-agent --local-agent ~/example_apks/example.apk Test: observe that fast deploy works as usual Test: adb install -r -f --nostreaming --force-agent --local-agent ~/example_apks/example.apk Test: adb install -r -f --no-streaming --force-agent --local-agent ~/example_apks/example.apk Test: observe that fast deploy is no longer invoked by -f Change-Id: Ic719df1003ac319e48b32f7f377f6f91d17f6a6f (cherry picked from commit 0584689beaff604ceeccaf706dc368213d07b977)
Diffstat (limited to 'adb/client/commandline.cpp')
-rw-r--r--adb/client/commandline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/client/commandline.cpp b/adb/client/commandline.cpp
index a5cfd7f1c..6e143c1ec 100644
--- a/adb/client/commandline.cpp
+++ b/adb/client/commandline.cpp
@@ -158,7 +158,7 @@ static void help() {
" --instant: cause the app to be installed as an ephemeral install app\n"
" --no-streaming: always push APK to device and invoke Package Manager as separate steps\n"
" --streaming: force streaming APK directly into Package Manager\n"
- " -f/--fastdeploy: use fast deploy (only valid with -r)\n"
+ " --fastdeploy: use fast deploy (only valid with -r)\n"
" --no-fastdeploy: prevent use of fast deploy (only valid with -r)\n"
" --force-agent: force update of deployment agent when using fast deploy\n"
" --date-check-agent: update deployment agent when local version is newer and using fast deploy\n"