summaryrefslogtreecommitdiff
path: root/xmake/modules/privilege/sudo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/privilege/sudo.lua')
-rw-r--r--xmake/modules/privilege/sudo.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/privilege/sudo.lua b/xmake/modules/privilege/sudo.lua
index dd529de91..464a9252f 100644
--- a/xmake/modules/privilege/sudo.lua
+++ b/xmake/modules/privilege/sudo.lua
@@ -38,7 +38,7 @@ end
-- sudo run command with administrator permission
--
--- .e.g
+-- e.g.
-- _sudo(os.run, "echo", "hello xmake!")
--
function _sudo(runner, cmd, ...)
@@ -53,7 +53,7 @@ end
-- sudo run command with administrator permission and arguments list
--
--- .e.g
+-- e.g.
-- _sudov(os.runv, {"echo", "hello xmake!"})
--
function _sudov(runner, program, argv, opt)
@@ -68,7 +68,7 @@ end
-- sudo run lua script with administrator permission and arguments list
--
--- .e.g
+-- e.g.
-- _lua(os.runv, "xxx.lua", {"arg1", "arg2"})
--
function _lua(runner, luafile, luaargv)