config/help: only print variable range if explicitly set
commitda135a7fd29c065df13c3d5053d7ccc78399f28f
authorFilip Roséen <filip@atch.se>
Wed, 12 Oct 2016 17:39:36 +0000 (12 19:39 +0200)
committerThomas Guillem <thomas@gllm.fr>
Thu, 13 Oct 2016 16:04:52 +0000 (13 18:04 +0200)
tree41730087b129c618b9711e5474b17806ff53603e
parent4383bbfe396efa6aa5e7be50a991834ff8c40581
config/help: only print variable range if explicitly set

Unless a module has specified their own range for a certain variable,
the ranges for an integer is always [ INT_MIN, INT_MAX ], and float [
FLT_MIN, FLT_MAX ]. Printing out these ranges explicitly shall not
happen unless a module has specified some other range for a variable.

These changes addresses the above.

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