Ensure a minimum indent of 1 for the help output

Reviewed-By: Friedemann Kleint
This commit is contained in:
dt
2010-03-23 15:56:11 +01:00
parent fbb82097b6
commit 5d747ebbe7

View File

@@ -471,7 +471,7 @@ static inline void formatOption(QTextStream &str,
str << " <" << parm << '>';
remainingIndent -= 3 + parm.size();
}
indent(str, qMax(0, remainingIndent));
indent(str, qMax(1, remainingIndent));
str << description << '\n';
}