From 0e42c2a4ad06be7601377da0b3abc2cc2ad86cbf Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 10 Nov 2015 10:54:44 -0800 Subject: [PATCH] Add -e to the adb shell documentation. Change-Id: I7be5d198ef174e969bbb670e629369894c7b0994 --- adb/commandline.cpp | 11 ++++++----- 1 file 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 [ ] - 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] - 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 - run emulator console command\n" " adb logcat [ ] - View device log\n" " adb forward --list - list all forward socket connections.\n"