summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/option.h b/src/option.h
index 9688171e..cd3cd594 100644
--- a/src/option.h
+++ b/src/option.h
@@ -90,13 +90,16 @@ public:
void report(std::ostream& out) const {
if (handled && source) {
+ out.width(24);
+ out << std::right << desc();
if (wants_arg) {
- out << desc() << " => ";
- value.dump(out);
+ out << " = ";
+ value.print(out, 42);
} else {
- out << desc();
+ out.width(45);
+ out << ' ';
}
- out << " <" << *source << ">" << std::endl;
+ out << std::left << *source << std::endl;
}
}