mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 05:52:27 +01:00
Fix 'findflags' help spec and make dactyl.generateHelp follow suit.
This commit is contained in:
@@ -819,12 +819,13 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
res.* += <>
|
||||
<item>
|
||||
<tags>{template.map(obj.names.slice().reverse(), tag, " ")}</tags>
|
||||
<spec>{
|
||||
let (name = (obj.specs || obj.names)[0])
|
||||
spec(template.highlightRegexp(tag(name),
|
||||
/\[(.*?)\]/g,
|
||||
function (m, n0) <oa>{n0}</oa>),
|
||||
name)
|
||||
<spec>{(obj instanceof Option)
|
||||
? template.map(obj.names.slice(), spec, " ")
|
||||
: let (name = (obj.specs || obj.names)[0])
|
||||
spec(template.highlightRegexp(tag(name),
|
||||
/\[(.*?)\]/g,
|
||||
function (m, n0) <oa>{n0}</oa>),
|
||||
name)
|
||||
}</spec>{
|
||||
!obj.type ? "" : <>
|
||||
<type>{obj.type}</type>
|
||||
|
||||
@@ -721,7 +721,7 @@
|
||||
|
||||
<item>
|
||||
<tags>'ff' 'findflags'</tags>
|
||||
<spec>'findflags'</spec>
|
||||
<spec>'findflags' 'ff'</spec>
|
||||
<type>&option.findflags.type;</type>
|
||||
<default>&option.findflags.default;</default>
|
||||
<description>
|
||||
|
||||
Reference in New Issue
Block a user