Use more proper wording during asking user install packages.
Bug: 172121334
Test: acloud-dev setup --host --force
Change-Id: I1cae9c34c6032c2dc8597412670a24a213e37c24
diff --git a/setup/host_setup_runner.py b/setup/host_setup_runner.py
index c2bb8e8..fcc5b74 100644
--- a/setup/host_setup_runner.py
+++ b/setup/host_setup_runner.py
@@ -83,9 +83,8 @@
if not setup_common.PackageInstalled(pkg)])
if not utils.GetUserAnswerYes("\nStart to install package(s):\n%s"
- "\nPress 'y' to continue or anything "
- "else to do it myself and run acloud "
- "again[y/N]: " % cmd):
+ "\nEnter 'y' to continue, otherwise N or "
+ "enter to exit: " % cmd):
sys.exit(constants.EXIT_BY_USER)
setup_common.CheckCmdOutput(_UPDATE_APT_GET_CMD, shell=True)
@@ -145,9 +144,8 @@
for sub_cmd in _INSTALL_CUTTLEFISH_COMMOM_CMD)
if not utils.GetUserAnswerYes("\nStart to install cuttlefish-common :\n%s"
- "\nPress 'y' to continue or anything "
- "else to do it myself and run acloud "
- "again[y/N]: " % cmd):
+ "\nEnter 'y' to continue, otherwise N or "
+ "enter to exit: " % cmd):
sys.exit(constants.EXIT_BY_USER)
try:
setup_common.CheckCmdOutput(cmd, shell=True)
@@ -227,6 +225,6 @@
True if user answer yes.
"""
answer_client = utils.InteractWithQuestion(
- "\nPress 'y' to continue or anything else to do it myself[y/N]: ",
+ "\nEnter 'y' to continue, otherwise N or enter to exit: ",
utils.TextColors.WARNING)
return answer_client in constants.USER_ANSWER_YES