From b20601b1ff390328391dfd10dc2fb0f39f216c8e Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 13 Nov 2022 08:39:38 +0800 Subject: Update xmake.lua --- xmake/plugins/format/xmake.lua | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'xmake/plugins/format/xmake.lua') diff --git a/xmake/plugins/format/xmake.lua b/xmake/plugins/format/xmake.lua index 5cb1c913e..16710524a 100644 --- a/xmake/plugins/format/xmake.lua +++ b/xmake/plugins/format/xmake.lua @@ -18,26 +18,16 @@ -- @file format.lua -- --- define task task("format") - - -- set category set_category("plugin") - - -- on run on_run("main") - - -- set menu set_menu { - -- usage usage = "xmake format [options] [arguments]", - -- description description = "Format the current project.", - -- options options = { {'s', "style", "kv", nil, "Set the path of .clang-format file, a coding style".. "(LLVM, Google, Chromium, Mozilla, WebKit) or key value string" }, - {nil, "create-style", "kv", nil, "Create a .clang-format file from a coding style" }, + {nil, "create", "k", nil, "Create a .clang-format file from a coding style" }, {'f', "file", "v", "*.cpp *.h *.hpp", "Set file path or glob pattern"} } } -- cgit v1.3.1