From 88a2ee4783d15c74f735f26c48b621b5e848d334 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Fri, 9 Dec 2016 17:38:08 +0200 Subject: doc: describe functionality used in the dns-zone module --- aconf/model/root.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aconf/model/root.lua') diff --git a/aconf/model/root.lua b/aconf/model/root.lua index 32b013d..301e493 100644 --- a/aconf/model/root.lua +++ b/aconf/model/root.lua @@ -63,12 +63,12 @@ M.topology = setmetatable( --- inject a new field to the root model. -- @tparam string name name of the field --- @param field ([<Field>](#Field_constructors) or +-- @param field ([<Field>](#Overview_of_field_classes) or -- [<Model>](#new)) type of the field, specified by a --- field constructor or instance. Can also be specified by a model. +-- field class or instance. Can also be specified by a model. -- @tparam ?{[string]=any,...} params field parameters. Applicable -- when the type of the field is specified by a model or a field --- constructor. +-- class. function M.register(name, field, params) if not params then params = {} end params.create = true -- cgit v1.2.3