help: avoid printing range for simple positive numeric cases
(min: 0, max: int-max (signed max due to underlying signed var)). printing a numeric type's range was already skipped when the range was the default type min/max, however there are lots of such options that only accept absolute values, setting zero as the lower bound and leaving the upper bound as the type max, and for which help output is messier than desirable both with an arguably unnecessary range output and also the large value of INT_MAX/FLT_MAX. this change additionally avoids printing the range in such cases, giving cleaner and just as useful output. it should be typically obvious from context that an option's lower bound is zero in these cases, so significant user confusion is not expected. furthermore, negative values are just silent capped currently at zero anyway.
Please register or sign in to comment