diff options
| author | ruki <[email protected]> | 2022-11-13 08:39:38 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-13 08:39:38 +0800 |
| commit | b20601b1ff390328391dfd10dc2fb0f39f216c8e (patch) | |
| tree | 7d52be5ecff31c0e6cfd693be2a60d33cdeb4d12 /xmake/plugins | |
| parent | 16eaeb0888fbcf269464d8d6670c965c64379074 (diff) | |
Update xmake.lua
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/format/xmake.lua | 12 |
1 files changed, 1 insertions, 11 deletions
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"} } } |
