summaryrefslogtreecommitdiff
path: root/cli/html.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/html.cxx')
-rw-r--r--cli/html.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/html.cxx b/cli/html.cxx
index 41d4c59..0394a3a 100644
--- a/cli/html.cxx
+++ b/cli/html.cxx
@@ -231,7 +231,7 @@ namespace
virtual void
traverse (type& c)
{
- if (!options.exclude_base ())
+ if (!options.exclude_base () && !options.include_base_last ())
inherits (c, inherits_base_);
if (!c.names_empty ())
@@ -241,6 +241,9 @@ namespace
os << " </dl>" << endl
<< endl;
}
+
+ if (!options.exclude_base () && options.include_base_last ())
+ inherits (c, inherits_base_);
}
private: