Fix floating point option range formatting
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 6 Apr 2018 22:49:44 +0000 (15:49 -0700)
committerBart Van Assche <bart.vanassche@wdc.com>
Fri, 6 Apr 2018 22:54:08 +0000 (15:54 -0700)
commita1e070c87536ad8803c04bcb60660a3ab649763d
tree7736b085ba643daada6069a692591b2113fd333c
parent2b8b8f0dccb4c7e97aee3b7d7e13d8528467d64e
Fix floating point option range formatting

Ensure that floating point option ranges are properly formatted if
only one of the two boundaries is specified. A few examples of how
option ranges are formatted with this patch applied:

               range: max=100.000000
               range: min=0.000000, max=100.000000
               range: min=0.000000

Reported-by: Sitsofe Wheeler <sitsofe@gmail.com>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
parse.c