Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 4a18740024573d6c6f459053a8902ad00fcfaa60)
|
|
when it's not necessary
(i.e., when no actual --not-value options are given)
(cherry picked from commit ba5e5638c15914c0b1bb3d61942f64046b38efd6)
|
|
(cherry picked from commit dea4f2b277d882362c2265bedae05bb3746a4136)
|
|
with --allow-range option
|
|
|
|
Add option '--relative' to check that value is of the form '+/-N' for
some numeric N (e.g. +10' or '-30'), interpreted as a relative increment
or decrement, rather than a signed integer/float. This may be combined
with any other option, which will be applied to the value stripped of
the leading modifier.
Testing this extension revealed that negative values are being
interpreted as options, whether quoted or not; to address that, an
Arg.Rest keyword '--' is introduced, which will need to be passed along
with the option in interface definitions using the above. For example:
<validator name="numeric" argument="--relative --"/>
|
|
fractional part
|
|
|
|
|
|
|