docgen: add clist pass to list all classes

This commit is contained in:
Daniel Kolesa 2017-03-03 16:18:21 +01:00
parent ea436e49d1
commit bc7561d8d5
1 changed files with 8 additions and 0 deletions

View File

@ -1558,6 +1558,14 @@ getopt.parse {
local st = opts["pass"]
dtree.parse()
if st == "clist" then
for i, cl in ipairs(dtree.Class.all_get()) do
print(cl:full_name_get())
end
return
end
local wfeatures = {
notes = not opts["disable-notes"],
folds = not opts["disable-folded"],