aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen P. Bennett <spb@exherbo.org> 2006-02-05 15:17:16 +0000
committerAvatar Stephen P. Bennett <spb@exherbo.org> 2006-02-05 15:17:16 +0000
commit2789476aefeceaa742130c285be3810913d01423 (patch)
tree33c2ba533557ba708ef87289438a19d60e3c332b
parentc7096eb53afaa6ce4574d39a55a4f0457eb8b229 (diff)
downloadpaludis-2789476aefeceaa742130c285be3810913d01423.tar.gz
paludis-2789476aefeceaa742130c285be3810913d01423.tar.xz
Put description for long flag names on a new line. Should be more readable.
-rw-r--r--paludis/args/args_dumper.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/args/args_dumper.cc b/paludis/args/args_dumper.cc
index 02a22ec..7110455 100644
--- a/paludis/args/args_dumper.cc
+++ b/paludis/args/args_dumper.cc
@@ -39,6 +39,8 @@ void ArgsDumper::visit(const ArgsOption * const a)
p << ", -" << a->short_name();
if (p.str().length() < 24)
p << std::string(24 - p.str().length(), ' ');
+ else
+ p << std::endl << std::string(24, ' ');
_os << p.str();
_os << " " << a->description() << std::endl;
}