From a45ec779fe73cd36e40181006c3103f7c4ec35da Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 9 Jun 2022 22:29:13 +0800 Subject: improve option --- xmake/core/base/option.lua | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit v1.3.1