diff options
| author | ruki <[email protected]> | 2024-02-23 09:00:24 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-23 09:00:24 +0800 |
| commit | ff4b2b09ea46e80c110ac327c4909032669d809e (patch) | |
| tree | b6dd77489b09f8286cbbe184fcea94061fb4836c /xmake/plugins/format/xmake.lua | |
| parent | 67412d490d1e88a17b4e873de75ae19c284cb7bc (diff) | |
| parent | a089eec876484f7cbdc14612ddc4aecf0714ac4d (diff) | |
Merge pull request #4761 from A2va/all-option-format
Add all option to format
Diffstat (limited to 'xmake/plugins/format/xmake.lua')
| -rw-r--r-- | xmake/plugins/format/xmake.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/format/xmake.lua b/xmake/plugins/format/xmake.lua index 7979bb211..4d1b2a6f8 100644 --- a/xmake/plugins/format/xmake.lua +++ b/xmake/plugins/format/xmake.lua @@ -28,7 +28,8 @@ task("format") {'s', "style", "kv", nil, "Set the path of .clang-format file, a coding style", values = {"LLVM", "Google", "Chromium", "Mozilla", "WebKit"}}, {nil, "create", "k", nil, "Create a .clang-format file from a coding style"}, - {'g', "group", "kv", nil, "Format all targets of the given group. It support path pattern matching.", + {'a', "all", "k", nil, "Format all targets."}, + {'g', "group", "kv", nil, "Format all targets of the given group. It support path pattern matching.", "e.g.", " xmake format -g test", " xmake format -g test_*", |
