diff options
Diffstat (limited to 'scripts/adb_logcat.sh')
| -rwxr-xr-x | scripts/adb_logcat.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/adb_logcat.sh b/scripts/adb_logcat.sh index 64aac3d..e72aaba 100755 --- a/scripts/adb_logcat.sh +++ b/scripts/adb_logcat.sh @@ -1,2 +1,8 @@ #! /usr/bin/env sh -adb logcat *:S CTV DEBUG +if [[ $1 == "d" ]]; then + adb -d logcat *:S CTV DEBUG +elif [[ $1 == "e" ]]; then + adb -e logcat *:S CTV DEBUG +else + adb logcat *:S CTV DEBUG +fi |