diff options
author | Elliott Hughes <enh@google.com> | 2018-04-04 08:36:01 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-04-04 08:36:01 -0700 |
commit | b2641a8f6ec1879198cad51264e6513082963dcd (patch) | |
tree | 8efe58e582f9de17d3fa373f4fa2ee0506ef304b | |
parent | e83c941e95a0594f975d3d6f2eb68a39e4ed302e (diff) | |
parent | 67e988e6bf83181dbe85a6886bc115d4ba8a473c (diff) | |
download | sdk-b2641a8f6ec1879198cad51264e6513082963dcd.tar.gz |
Merge "Add adb command to get max running users"
am: 67e988e6bf
Change-Id: I36952aca20f06844e43198992749851d25f1d96e
-rw-r--r-- | bash_completion/adb.bash | 12 |
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 |