diff options
| author | ruki <[email protected]> | 2018-11-04 22:20:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-04 22:20:13 +0800 |
| commit | d3d05b0c620dbfc318d4c693bc2fb7b556d51d3c (patch) | |
| tree | a91579ba8362498e531c01081d8fe80906da142d /xmake/core/main.lua | |
| parent | 9d22026291016915298cd4cf8b004bef4b6faaec (diff) | |
improve diagnosis info
Diffstat (limited to 'xmake/core/main.lua')
| -rw-r--r-- | xmake/core/main.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua index f724cfa2d..a5e7b269b 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -197,6 +197,11 @@ Or you can add `--root` option or XMAKE_ROOT=y to allow run as root temporarily. end end + -- check deprecated options, TODO it will be removed after v2.3.0 + if option.get("backtrace") then + deprecated.add("-D or --diagnosis", "--backtrace") + end + -- start profiling if option.get("profile") then profiler:start() |
