diff options
Diffstat (limited to 'xmake/core/base/cli.lua')
| -rw-r--r-- | xmake/core/base/cli.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/cli.lua b/xmake/core/base/cli.lua index 2ec5d8d42..310335fd4 100644 --- a/xmake/core/base/cli.lua +++ b/xmake/core/base/cli.lua @@ -57,7 +57,7 @@ function cli._make_flag(key, short, argv, argi) end function cli._make_option(key, value, short, argv, argi) - return cli._make_segment('option', short and ('-' .. key .. value) or ('--' .. key .. '=' .. value), argv, argi, { key = key, value = value, short = short or false }) + return cli._make_segment('option', short and ('-' .. key .. ' ' .. value) or ('--' .. key .. '=' .. value), argv, argi, { key = key, value = value, short = short or false }) end function cli.parse(args, ...) |
