From 7776bba8b557865cf6444e112ca07f2c83963544 Mon Sep 17 00:00:00 2001 From: NextAlone <12210746+NextAlone@users.noreply.github.com> Date: Tue, 31 Jan 2023 16:48:53 +0800 Subject: [PATCH] completion/adb: remove wait-for-device from subcommand detect wait-for-device should not be used in subcommand detect, cause it is used as seperate command, following with others. (cherry picked from commit 3604e8854ba1bec44997919746f3fbbb369ee472) --- share/completions/adb.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/adb.fish b/share/completions/adb.fish index 6391bf485..c8687dccc 100644 --- a/share/completions/adb.fish +++ b/share/completions/adb.fish @@ -2,7 +2,7 @@ function __fish_adb_no_subcommand -d 'Test if adb has yet to be given the subcommand' for i in (commandline -opc) - if contains -- $i connect disconnect devices push pull sync shell emu logcat install uninstall jdwp forward bugreport backup restore version help wait-for-device start-server kill-server remount reboot get-state get-serialno get-devpath status-window root usb tcpip ppp sideload reconnect + if contains -- $i connect disconnect devices push pull sync shell emu logcat install uninstall jdwp forward bugreport backup restore version help start-server kill-server remount reboot get-state get-serialno get-devpath status-window root usb tcpip ppp sideload reconnect return 1 end end