[Turn off line numbering]1: arg cmds, type, len; 2: var def, name, c, cdef, line, o, cs, dname; 3: 4: o = []; 5: for def in (cmds.keys()) { 6: o += [type + " commands on " + def.name() + ":"]; 7: cs = []; 8: for cdef in (cmds[def]) { 9: for c in (cdef[2]) 10: cs += ["\"" + c[3] + "\""]; 11: } 12: o += cs.sort().lcolumnize(len - 2, " ").prefix(" "); 13: } 14: return o;
// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit