aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-01-21 08:23:34 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-01-21 08:23:34 +0000
commit150387e790d4dd16a28d351c1418fa40376fb3e8 (patch)
treeb63a97db83f054be50cf95656a355325574e21c5
parent41019ff9e79605abc2901b8ce3fa6996f0e9f202 (diff)
parent7bfdcaceb97709849655c2ab6f369a3646ad1fe1 (diff)
downloadsdk-150387e790d4dd16a28d351c1418fa40376fb3e8.tar.gz
Snap for 4557233 from 7bfdcaceb97709849655c2ab6f369a3646ad1fe1 to pi-release
Change-Id: Ie945bebea10f3d15099573b663fdf95703bbd46c
-rw-r--r--bash_completion/adb.bash12
1 files changed, 11 insertions, 1 deletions
diff --git a/bash_completion/adb.bash b/bash_completion/adb.bash
index 3017bfa2e..d36bec376 100644
--- a/bash_completion/adb.bash
+++ b/bash_completion/adb.bash
@@ -293,7 +293,17 @@ _adb_cmd_shell_pm() {
if (( $i == $COMP_CWORD )) ; then
cur="${COMP_WORDS[COMP_CWORD]}"
- candidates="-l -lf -p clear create-user default-state disable disable-until-used disable-user dump enable get-app-link get-install-location get-max-users grant hide install install-abandon install-commit install-create install-write list move-package move-primary-storage path remove-user reset-permissions revoke set-app-link set-installer set-install-location set-permission-enforced trim-caches unhide uninstall"
+ candidates="-l -lf -p clear create-user default-state disable"
+ candidates+=" disable-until-used disable-user dump enable"
+ candidates+=" get-app-link get-install-location get-max-users"
+ candidates+=" get-max-running-users grant hide install"
+ candidates+=" install-abandon install-commit install-create"
+ candidates+=" install-write list move-package"
+ candidates+=" move-primary-storage path remove-user"
+ candidates+=" reset-permissions revoke set-app-link"
+ candidates+=" set-installer set-install-location"
+ candidates+=" set-permission-enforced trim-caches unhide"
+ candidates+=" uninstall"
COMPREPLY=( $(compgen -W "$candidates" -- "$cur") )
return 0
fi