summaryrefslogtreecommitdiff
path: root/xmake/core/project/task.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-11-15 23:08:49 +0800
committerruki <[email protected]>2016-11-15 23:08:55 +0800
commit86cd983996c828c9e0963a4ed25f7338bd19f16c (patch)
tree7e36eadfd499cb0a547fe0a19f5e2f132a0fc1a3 /xmake/core/project/task.lua
parent583c8523627493099839ef891dc3f887712f66e3 (diff)
support multi-line description for option
Diffstat (limited to 'xmake/core/project/task.lua')
-rw-r--r--xmake/core/project/task.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmake/core/project/task.lua b/xmake/core/project/task.lua
index b94685066..a0174e9e8 100644
--- a/xmake/core/project/task.lua
+++ b/xmake/core/project/task.lua
@@ -131,17 +131,17 @@ function task._translate_menu(menu)
-- add common options
table.insert(options, 1, {'v', "verbose", "k", nil, "Print lots of verbose information." })
- table.insert(options, 1, {nil, "backtrace", "k", nil, "Print backtrace information for debugging." })
- table.insert(options, 2, {nil, "version", "k", nil, "Print the version number and exit." })
- table.insert(options, 3, {'h', "help", "k", nil, "Print this help message and exit." })
- table.insert(options, 4, {})
- table.insert(options, 5, {'F', "file", "kv", nil, "Read a given xmake.lua file." })
- table.insert(options, 6, {'P', "project", "kv", nil, "Change to the given project directory."
+ table.insert(options, 2, {nil, "backtrace", "k", nil, "Print backtrace information for debugging." })
+ table.insert(options, 3, {nil, "version", "k", nil, "Print the version number and exit." })
+ table.insert(options, 4, {'h', "help", "k", nil, "Print this help message and exit." })
+ table.insert(options, 5, {})
+ table.insert(options, 6, {'F', "file", "kv", nil, "Read a given xmake.lua file." })
+ table.insert(options, 7, {'P', "project", "kv", nil, "Change to the given project directory."
, "Search priority:"
, " 1. The Given Command Argument"
, " 2. The Envirnoment Variable: XMAKE_PROJECT_DIR"
, " 3. The Current Directory" })
- table.insert(options, 7, {})
+ table.insert(options, 8, {})
end