config/help: do not print range info if not explicitly set
authorFilip Roséen <filip@atch.se>
Sun, 16 Oct 2016 13:33:31 +0000 (15:33 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 21 Oct 2016 14:24:53 +0000 (16:24 +0200)
commitf21d0e73213d52e2db46191915c79a1cd66d7446
tree8e5b6c673d2d91317e87cd82b57ab2b168bb2b41
parentefd04637ada8088a05209694e5f4494d21eb5a18
config/help: do not print range info if not explicitly set

If the range for an integer is set to the maximum (default), there is
no point in explicitly stating this range in the help.

Following the changes in e908026, config/help.c:print_item must also
be updated to reflect the new default-range.

These changes fixes that.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
src/config/help.c