From e61e132b705aecc3b3c975f8ba74a2fb2c99095f Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 31 Jan 2023 23:11:15 +0800 Subject: improve check menu --- xmake/plugins/check/xmake.lua | 9 +++++---- 1 file 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."} } } -- cgit v1.3.1