diff options
| author | ruki <[email protected]> | 2016-06-01 08:16:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-06-01 08:16:54 +0800 |
| commit | e720bbe224eb7aec57ca488a67e840a685fe612f (patch) | |
| tree | 2735ac6524ec7ca93f7508eadfdfc3241ee08f0c /xmake/core/base | |
| parent | 5b2e0333389158094a2a8bb796e13f99fac422e7 (diff) | |
list lua scripts and fix arguments
Diffstat (limited to 'xmake/core/base')
| -rw-r--r-- | xmake/core/base/option.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/core/base/option.lua b/xmake/core/base/option.lua index eb9af790e..7deb2a3f4 100644 --- a/xmake/core/base/option.lua +++ b/xmake/core/base/option.lua @@ -724,13 +724,15 @@ function option.show_options(options) if name then if mode == "v" then option_info = option_info .. " " .. name + elseif mode == "vs" then + option_info = option_info .. " " .. name .. " ..." else option_info = option_info .. option._ifelse(shortname, ", --", " --") .. name end if mode == "kv" then option_info = option_info .. "=" .. name:upper() end - elseif mode == "v" then + elseif mode == "v" or mode == "vs" then option_info = option_info .. " ..." end |
