summaryrefslogtreecommitdiff
path: root/cli/html.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-23 12:22:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-23 12:22:19 +0200
commit7e9cb673ccfc77c5871292aa5491fc2c2dc2a663 (patch)
treeccb92fe421c895525be3a5c82429db8ea984775a /cli/html.cxx
parentccd0499c10b1ebf075bc251c4827ab79a6975165 (diff)
Add --include-base-last option
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: