diff options
Diffstat (limited to 'cli/html.cxx')
-rw-r--r-- | cli/html.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/html.cxx b/cli/html.cxx index c603dcf..9304fee 100644 --- a/cli/html.cxx +++ b/cli/html.cxx @@ -16,6 +16,11 @@ namespace { using semantics::names; + type::doc_list const& doc (o.doc ()); + + if (options.suppress_undocumented () && doc.empty ()) + return; + names& n (o.named ()); os << " <dt><code><b>"; @@ -30,7 +35,6 @@ namespace os << "</b></code>"; - type::doc_list const& doc (o.doc ()); string type (o.type ().name ()); std::set<string> arg_set; |