mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-12 10:35:45 +01:00
add :optionusage command
This commit is contained in:
@@ -862,8 +862,9 @@ liberator.Options = function () //{{{
|
||||
|
||||
__iterator__: function ()
|
||||
{
|
||||
for (let i = 0; i < options.length; i++)
|
||||
yield options[i];
|
||||
let sorted = options.sort(function (opt1, opt2) opt1.name > opt2.name);
|
||||
for (let i = 0; i < sorted.length; i++)
|
||||
yield sorted[i];
|
||||
},
|
||||
|
||||
add: function (names, description, type, defaultValue, extraInfo)
|
||||
|
||||
Reference in New Issue
Block a user