diff options
Diffstat (limited to 'xmake/core/base/task.lua')
| -rw-r--r-- | xmake/core/base/task.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xmake/core/base/task.lua b/xmake/core/base/task.lua index 14caf1741..d7893d674 100644 --- a/xmake/core/base/task.lua +++ b/xmake/core/base/task.lua @@ -140,10 +140,17 @@ function task.menu() -- add common options local options = taskinfo.menu.options if options then - table.insert(options, 1, {'v', "verbose", "k", nil, "Print lots of verbose information." }) + table.insert(options, 1, {'v', "verbose", "k", nil, "Print lots of verbose information." }) 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." + , "Search priority:" + , " 1. The Given Command Argument" + , " 2. The Envirnoment Variable: XMAKE_PROJECT_DIR" + , " 3. The Current Directory" }) + table.insert(options, 7, {}) end -- main? |
