diff options
| -rw-r--r-- | xmake/core/base/option.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/option.lua b/xmake/core/base/option.lua index d8475031f..76dcc633a 100644 --- a/xmake/core/base/option.lua +++ b/xmake/core/base/option.lua @@ -658,7 +658,7 @@ function option.show_main() table.insert(tablecontent, {{string.format("%s%ss: ", string.sub(category.name, 1, 1):upper(), string.sub(category.name, 2)), style="${reset bright}"}}) -- print tasks - for taskname, taskinfo in pairs(category.tasks) do + for taskname, taskinfo in table.orderpairs(category.tasks) do -- init the task line local taskline = string.format(narrow and " %s%s" or " %s%s", |
