diff options
| author | A2va <[email protected]> | 2022-11-11 21:03:27 +0100 |
|---|---|---|
| committer | A2va <[email protected]> | 2022-11-11 21:03:27 +0100 |
| commit | 54ed917dee71173aa9400032419d7506a050ba3b (patch) | |
| tree | 67c6397d4f031e6e40294e9860e8205b8bc55c4d /xmake/plugins/format/xmake.lua | |
| parent | d3b7498679fd2c1234c118a056a84f8aa3fa04d3 (diff) | |
Format file
Diffstat (limited to 'xmake/plugins/format/xmake.lua')
| -rw-r--r-- | xmake/plugins/format/xmake.lua | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/xmake/plugins/format/xmake.lua b/xmake/plugins/format/xmake.lua index 3b3e2bec3..d02db5fc4 100644 --- a/xmake/plugins/format/xmake.lua +++ b/xmake/plugins/format/xmake.lua @@ -30,17 +30,14 @@ task("format") -- set menu set_menu { -- usage - usage = "xmake format [options] [arguments]" - + usage = "xmake format [options] [arguments]", -- description - , description = "Format the current project." - + 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" }, + 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" }, {'f', "file", "v", "*.cpp *.h *.hpp", "Set file path or glob pattern"} } } |
