summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-03 14:02:49 +0800
committerruki <[email protected]>2015-05-03 14:03:10 +0800
commit4a0ac3ab3b236df85fcad676a2570128a3363f07 (patch)
tree8c9e53cb77198208963d439da2dbb2b9eb61a8a3 /xmake/scripts/base/utils.lua
parentd5c1749a6f01d05cced27538798989c36b9d18f3 (diff)
parse command line and process help and version
Diffstat (limited to 'xmake/scripts/base/utils.lua')
-rw-r--r--xmake/scripts/base/utils.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/utils.lua b/xmake/scripts/base/utils.lua
index 1c05fd480..59cfc4cd0 100644
--- a/xmake/scripts/base/utils.lua
+++ b/xmake/scripts/base/utils.lua
@@ -30,7 +30,7 @@ end
-- the verbose function
function utils.verbose(msg, ...)
- if xmake._VERBOSE then
+ if xmake._OPTIONS.verbose then
print(string.format(msg, ...))
end
end