summaryrefslogtreecommitdiff
path: root/cli/man.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/man.cxx')
-rw-r--r--cli/man.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/man.cxx b/cli/man.cxx
index 70a5a4a..2d5cce7 100644
--- a/cli/man.cxx
+++ b/cli/man.cxx
@@ -185,10 +185,13 @@ namespace
virtual void
traverse (type& c)
{
- if (!options.exclude_base ())
+ if (!options.exclude_base () && !options.include_base_last ())
inherits (c, inherits_base_);
names (c, names_option_);
+
+ if (!options.exclude_base () && options.include_base_last ())
+ inherits (c, inherits_base_);
}
private: