diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-11 11:46:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-11 11:46:57 +0200 |
commit | d4274a0d8bd3bb210b8085332f4c827486ede2f3 (patch) | |
tree | 6927ae7a69c521e6cabf44beb22a7131d5484447 | |
parent | b42d9a345e2b02a1b17fa61b22117fbf7b187a31 (diff) |
Generate all options for all classes in single HTML definition list
This way we won't have any irregular gaps is the option list is
assembled from multiple classes.
-rw-r--r-- | cli/html.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/html.cxx b/cli/html.cxx index 8a9e97d..1f0c328 100644 --- a/cli/html.cxx +++ b/cli/html.cxx @@ -180,14 +180,10 @@ namespace return; } - os << "<dl class=\"options\">" << endl; - if (!options.exclude_base ()) inherits (c, inherits_base_); names (c, names_option_); - - os << "</dl>" << endl; } private: @@ -215,5 +211,9 @@ generate_html (context& ctx) ns >> ns_names >> ns; ns_names >> cl; + ctx.os << "<dl class=\"options\">" << endl; + unit.dispatch (ctx.unit); + + ctx.os << "</dl>" << endl; } |