diff options
| author | ruki <[email protected]> | 2023-01-31 23:11:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-31 23:11:15 +0800 |
| commit | e61e132b705aecc3b3c975f8ba74a2fb2c99095f (patch) | |
| tree | 02ec17a672175555778e3c14e1ce03a6b777c23d /xmake/plugins/check/xmake.lua | |
| parent | 8800ce78893613b4f910d2c9cbddcf51e8e03445 (diff) | |
improve check menu
Diffstat (limited to 'xmake/plugins/check/xmake.lua')
| -rw-r--r-- | xmake/plugins/check/xmake.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/xmake/plugins/check/xmake.lua b/xmake/plugins/check/xmake.lua index 9e202b7cd..38fe742ba 100644 --- a/xmake/plugins/check/xmake.lua +++ b/xmake/plugins/check/xmake.lua @@ -23,11 +23,12 @@ task("check") on_run("main") set_menu { usage = "xmake check [options] [arguments]", - description = "Check the project code and configuration.", + description = "Check the project sourcecode and configuration.", options = { - {'l', "list", "k", nil, "Show all supported checkers list."}, - {nil, "info", "kv", nil, "Show the given checker information."}, - {nil, "checkers", "vs", nil, "Use the given checkers to check project."} + {'l', "list", "k", nil, "Show all supported checkers list."}, + {nil, "info", "kv", nil, "Show the given checker information."}, + {nil, "level", "kv", "all", "Just show information for the given level.", values = {"warn", "error", "all"}}, + {nil, "checkers", "vs", nil, "Use the given checkers to check project."} } } |
