dut-console: Escape sequence is <enter>~., not ~.<enter>
BUG=none
TEST=dut-console prints the right help text
Change-Id: I435733857e94202b9dd038b75f47d7bc41444a6a
Reviewed-on: https://chromium-review.googlesource.com/1227430
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
diff --git a/contrib/dut-console b/contrib/dut-console
index c23c805..b16d381 100755
--- a/contrib/dut-console
+++ b/contrib/dut-console
@@ -175,7 +175,7 @@
fi
echo "Opening ${pty_name}:${pty}..."
- echo "Log in ${outlog}, type ~.<enter> to exit."
+ echo "Log in ${outlog}, type <enter>~. to exit."
stdbuf -oL cu --nostop -l "${pty}" | tee "${outlog}"
}