[vlc-devel] [PATCH] Do not flood full-help with MAX and MIN ints

Kaarlo Räihä kaarlo.raiha at gmail.com
Sat Mar 10 11:22:08 CET 2012


Currently the full-help prints something like

 --blendbench-loops=<integer [-2147483648 .. 2147483647]>
                                 Number of time to blend
          The number of time the blend will be performed

because some change in code made min.i and max.i always have values. So
when no range is defined, the help prints these values automatically (VLC
1.1.x didn't print these). After this patch, min and max are not printed if
they are MIN or MAX. And it looks like

      --blendbench-loops=<integer>
                                 Number of time to blend
          The number of time the blend will be performed

Better thing would be to force range for each integer option, but since
there are almost 300 of them, it would be too much work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120310/190c74ab/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-flood-full-help-with-MIN-and-MAX-ints.patch
Type: text/x-patch
Size: 1175 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120310/190c74ab/attachment.bin>


More information about the vlc-devel mailing list