summaryrefslogtreecommitdiff
path: root/xmake/plugins/check/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-31 23:11:15 +0800
committerruki <[email protected]>2023-01-31 23:11:15 +0800
commite61e132b705aecc3b3c975f8ba74a2fb2c99095f (patch)
tree02ec17a672175555778e3c14e1ce03a6b777c23d /xmake/plugins/check/xmake.lua
parent8800ce78893613b4f910d2c9cbddcf51e8e03445 (diff)
improve check menu
Diffstat (limited to 'xmake/plugins/check/xmake.lua')
-rw-r--r--xmake/plugins/check/xmake.lua9
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."}
}
}