summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/option.lua3
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()