mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 16:53:45 +08:00
tools: pass args to op adb
This commit is contained in:
+1
-1
@@ -284,7 +284,7 @@ function op_venv() {
|
||||
|
||||
function op_adb() {
|
||||
op_before_cmd
|
||||
op_run_command tools/scripts/adb_ssh.sh
|
||||
op_run_command tools/scripts/adb_ssh.sh "$@"
|
||||
}
|
||||
|
||||
function op_ssh() {
|
||||
|
||||
@@ -4,4 +4,4 @@ set -e
|
||||
# this is a little nicer than "adb shell" since
|
||||
# "adb shell" doesn't do full terminal emulation
|
||||
adb forward tcp:2222 tcp:22
|
||||
ssh comma@localhost -p 2222
|
||||
ssh comma@localhost -p 2222 "$@"
|
||||
|
||||
Reference in New Issue
Block a user