diff options
| author | ruki <[email protected]> | 2017-01-12 00:21:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-01-12 00:21:14 +0800 |
| commit | d67955c9dba18a933e701707b812a988da8ca74f (patch) | |
| tree | 8f78d510923b9fc98d3cfa4353c55e2f7101b1be /xmake/core/project/task.lua | |
| parent | 1be86fced4accecba8f00b903610a42dbd32f33a (diff) | |
add profile argument
Diffstat (limited to 'xmake/core/project/task.lua')
| -rw-r--r-- | xmake/core/project/task.lua | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/xmake/core/project/task.lua b/xmake/core/project/task.lua index d01b5e089..2dff95962 100644 --- a/xmake/core/project/task.lua +++ b/xmake/core/project/task.lua @@ -134,16 +134,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, 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." + table.insert(options, 3, {nil, "profile", "k", nil, "Print performance data for debugging." }) + table.insert(options, 4, {nil, "version", "k", nil, "Print the version number and exit." }) + table.insert(options, 5, {'h', "help", "k", nil, "Print this help message and exit." }) + table.insert(options, 6, {}) + table.insert(options, 7, {'F', "file", "kv", nil, "Read a given xmake.lua file." }) + table.insert(options, 8, {'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, 8, {}) + table.insert(options, 9, {}) end |
