summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-11-10 10:54:44 -0800
committerElliott Hughes <enh@google.com>2015-11-10 10:54:44 -0800
commit0e42c2a4ad06be7601377da0b3abc2cc2ad86cbf (patch)
tree30e721e8be609176bcdc8e1c2111306a29537e1d
parent892f0e93007dc912f18a09fd281c73adf762277a (diff)
downloadcore-0e42c2a4ad06be7601377da0b3abc2cc2ad86cbf.tar.gz
core-0e42c2a4ad06be7601377da0b3abc2cc2ad86cbf.tar.bz2
core-0e42c2a4ad06be7601377da0b3abc2cc2ad86cbf.zip
Add -e to the adb shell documentation.
Change-Id: I7be5d198ef174e969bbb670e629369894c7b0994
-rw-r--r--adb/commandline.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/adb/commandline.cpp b/adb/commandline.cpp
index 6970a1840..ed9b73668 100644
--- a/adb/commandline.cpp
+++ b/adb/commandline.cpp
@@ -112,11 +112,12 @@ static void help() {
" (-a preserves file timestamp and mode)\n"
" adb sync [ <directory> ] - copy host->device only if changed\n"
" (-l means list but don't copy)\n"
- " adb shell [-Ttx] - run remote shell interactively\n"
- " adb shell [-Ttx] <command> - run remote shell command\n"
- " (-T disables PTY allocation)\n"
- " (-t forces PTY allocation)\n"
- " (-x disables remote exit codes and stdout/stderr separation)\n"
+ " adb shell [-e escape] [-Tt] [-x] [command]\n"
+ " - run remote shell command (interactive shell if no command given)\n"
+ " (-e: choose escape character, or \"none\"; default '~')\n"
+ " (-T: disable PTY allocation)\n"
+ " (-t: force PTY allocation)\n"
+ " (-x: disable remote exit codes and stdout/stderr separation)\n"
" adb emu <command> - run emulator console command\n"
" adb logcat [ <filter-spec> ] - View device log\n"
" adb forward --list - list all forward socket connections.\n"