diff options
| author | ruki <[email protected]> | 2016-02-28 14:14:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-28 14:14:25 +0800 |
| commit | 5c154ce0b281f073fb6c8e475e932837da0d5117 (patch) | |
| tree | b670dfe584762f397fe466be227b09d375b1ec90 /xmake/core/base/utils.lua | |
| parent | 9212146ac3d022a54f659d87fb0ecd7a7db2bee4 (diff) | |
hide _OPTIONS
Diffstat (limited to 'xmake/core/base/utils.lua')
| -rw-r--r-- | xmake/core/base/utils.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index a73034261..edc302352 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -23,6 +23,9 @@ -- define module: utils local utils = utils or {} +-- load modules +local option = require("base/option") + -- the printf function function utils.printf(msg, ...) @@ -36,7 +39,7 @@ end -- the verbose function function utils.verbose(msg, ...) - if xmake._OPTIONS.verbose then + if option.options().verbose then -- check assert(msg) |
