summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-11-10 19:25:14 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-11-10 19:25:14 +0000
commit3c540aec245f6c010ef2d5e82a22b871335dd1c6 (patch)
tree4ff828563ed761bda76286a86d7989be9e212c27
parentd75b6b925748d3a241866a2662f2ec0e4db9101c (diff)
parent0e42c2a4ad06be7601377da0b3abc2cc2ad86cbf (diff)
downloadcore-3c540aec245f6c010ef2d5e82a22b871335dd1c6.tar.gz
core-3c540aec245f6c010ef2d5e82a22b871335dd1c6.tar.bz2
core-3c540aec245f6c010ef2d5e82a22b871335dd1c6.zip
Merge "Add -e to the adb shell documentation."
-rw-r--r--adb/commandline.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/adb/commandline.cpp b/adb/commandline.cpp
index dfa5ef212..6e4c4e8ff 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"