diff options
| author | ruki <[email protected]> | 2020-01-25 09:37:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-01-25 09:37:53 +0800 |
| commit | 3aed90724e29a7773f3c2874926e861ae92fe120 (patch) | |
| tree | 4aa5ac0d9d94b4d0b86c4e5b78693a6ba501f9f0 /xmake/plugins/lua/xmake.lua | |
| parent | 07b241522ae9712167f1f218e08e651717b7fd55 (diff) | |
| parent | 5d7a6efa13021da59a370bb011f4caf494b35da3 (diff) | |
Merge pull request #674 from OpportunityLiu/dev
Improve task create, plugin lua & todisplay
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
| -rw-r--r-- | xmake/plugins/lua/xmake.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua index 23d00b145..a466075b4 100644 --- a/xmake/plugins/lua/xmake.lua +++ b/xmake/plugins/lua/xmake.lua @@ -44,6 +44,7 @@ task("lua") {'l', "list" , "k" , nil , "List all scripts." } , {'c', "command" , "k" , nil , "Run script as command" } + , {'d', "deserialize" , "kv" , nil , "Deserialize arguments starts with given prefix" } , {nil, "script" , "v" , nil , "Run the given lua script name, file or module and enter interactive mode if no given script.", "e.g.", " - xmake lua (enter interactive mode)", @@ -58,9 +59,9 @@ task("lua") return import("main.scripts")() end } - , {nil, "arguments" , "vs" , nil , "The script arguments, use '@' to enable deserializing.", + , {nil, "arguments" , "vs" , nil , "The script arguments, use '--deserialize' option to enable deserializing.", "e.g.", - " - xmake lua lib.detect.find_tool tar @{version=true}" } + " - xmake lua -d@ lib.detect.find_tool tar @{version=true}" } } } |
