summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/complete.lua
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-01-15 11:24:36 +0800
committerOpportunity <[email protected]>2020-01-15 11:24:36 +0800
commit9862d1b95fa5978eaf24d65f1ca5f151d410a14b (patch)
tree2cac28495cfc70402a60d1b244dc4a801d484eb5 /xmake/modules/private/utils/complete.lua
parenteb1effdccd96425375af083d45a94a790f0c6d56 (diff)
Improve options parsing
Diffstat (limited to 'xmake/modules/private/utils/complete.lua')
-rw-r--r--xmake/modules/private/utils/complete.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/complete.lua b/xmake/modules/private/utils/complete.lua
index 35d9c67af..a1e8480df 100644
--- a/xmake/modules/private/utils/complete.lua
+++ b/xmake/modules/private/utils/complete.lua
@@ -63,7 +63,7 @@ function _complete_option(options, segs, name)
local current_options = try
{
function()
- return option.raw_parse(segs, options)
+ return option.raw_parse(segs, options, { populate_defaults = false })
end
}
-- current options is invalid