summaryrefslogtreecommitdiff
path: root/docs/plugins.md
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-09 23:05:36 +0800
committerruki <[email protected]>2017-02-09 23:05:36 +0800
commit565cbde5d77b6516b103de666384bf652ad9e1f2 (patch)
tree7ac3b6363152267f3b86fbe8675093b3a64dc035 /docs/plugins.md
parentac4475402fae09351f4602b03750b540e69e5d3f (diff)
add task api docs
Diffstat (limited to 'docs/plugins.md')
-rw-r--r--docs/plugins.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/plugins.md b/docs/plugins.md
index fbdc09afa..9966f7b22 100644
--- a/docs/plugins.md
+++ b/docs/plugins.md
@@ -44,16 +44,16 @@ task("hello")
end)
-- set the menu options, but we put empty options now.
- set_menu({
- -- usage
- usage = "xmake hello [options]"
+ set_menu {
+ -- usage
+ usage = "xmake hello [options]"
- -- description
- , description = "Hello xmake!"
+ -- description
+ , description = "Hello xmake!"
- -- options
- , options = {}
- })
+ -- options
+ , options = {}
+ }
```
The file tree of this plugin: