diff options
| author | ruki <[email protected]> | 2022-06-09 22:29:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-06-09 22:29:13 +0800 |
| commit | a45ec779fe73cd36e40181006c3103f7c4ec35da (patch) | |
| tree | af347099a04eafa16b47b9c975b1eba4c549593e | |
| parent | a9cc2ad0f1b0695113782cb6ab9333d7c418f280 (diff) | |
improve option
| -rw-r--r-- | xmake/core/base/option.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/base/option.lua b/xmake/core/base/option.lua index 9f058a132..d8475031f 100644 --- a/xmake/core/base/option.lua +++ b/xmake/core/base/option.lua @@ -700,6 +700,9 @@ function option.show_options(options, taskname) is_action = true end end + if printed_options[#printed_options].category then + table.remove(printed_options) + end -- narrow mode? local narrow = option._modenarrow() |
