cli: Don't show negative values
For none of the numeric properties a negative value makes sense. Negative values can be considered as 'no value present'.
This commit is contained in:
parent
9fb1e918de
commit
c78fec4151
|
@ -64,7 +64,7 @@ template <typename intType>
|
|||
inline void printProperty(
|
||||
const char *propName, const intType value, const char *suffix = nullptr, bool force = false, ApplicationUtilities::Indentation indentation = 3)
|
||||
{
|
||||
if (value != 0 || force) {
|
||||
if (value >= 0 || force) {
|
||||
printProperty(propName, ConversionUtilities::numberToString<intType>(value).data(), suffix, indentation);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue