summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-11 11:19:11 +0800
committerruki <[email protected]>2018-11-11 11:19:11 +0800
commit687ea9ba435c94835c0030e7b476556cbceb1036 (patch)
treeea29c8433062064806356e67c7025e00d804b3ac
parent6f57cba00405992727fc09a65cfbe13152db0e8f (diff)
modify tips info for update
-rw-r--r--xmake/actions/update/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index 0b2a1acb9..b97350f2c 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -78,8 +78,8 @@ function _sudo(cmd)
if confirm == nil then
-- show tips
- cprint("${bright yellow}note: ${default yellow}try continue to run `%s` with administrator permission again?", cmd)
- cprint("please input: y (y/n)")
+ cprint("\r${bright yellow}note: ${default yellow}try continue to run `%s` with administrator permission again?", cmd)
+ cprint("\rplease input: y (y/n)")
-- get answer
io.flush()