diff options
Diffstat (limited to 'cli/man.cxx')
-rw-r--r-- | cli/man.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/man.cxx b/cli/man.cxx index 576ee04..218cd57 100644 --- a/cli/man.cxx +++ b/cli/man.cxx @@ -44,7 +44,7 @@ namespace std::set<string> arg_set; - if (type != "bool") + if (type != "bool" || doc.size () >= 3) { string s ( translate_arg ( @@ -60,7 +60,7 @@ namespace // If we have both the long and the short descriptions, use // the long one. // - if (type == "bool") + if (type == "bool" && doc.size () < 3) { if (doc.size () > 1) d = doc[1]; |