From 7e9cb673ccfc77c5871292aa5491fc2c2dc2a663 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 Nov 2015 12:22:19 +0200 Subject: Add --include-base-last option --- cli/man.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cli/man.cxx') 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: -- cgit v1.1