You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a CLA can have the optional choices checker to verify if the passed argument is allowed. This is good for checking against a finite number of allowed values, but if one want to check against an infinite set values that must only be bounded into a range (e.g. if x in [0.2, 12.1) ) the choices option is not viable.
Thus add a new optional, e.g.
call cli%add(switch='--foo', range='[0.1, 20.)', required=.false., def='5.') ! 0.1 is includein the range, while20. not
(trick: maybe temporary promote all check in real even if the CLA is integer)
The text was updated successfully, but these errors were encountered:
Currently, a CLA can have the optional
choices
checker to verify if the passed argument is allowed. This is good for checking against a finite number of allowed values, but if one want to check against an infinite set values that must only be bounded into a range (e.g.if x in [0.2, 12.1)
) the choices option is not viable.Thus add a new optional, e.g.
(trick: maybe temporary promote all check in real even if the CLA is integer)
The text was updated successfully, but these errors were encountered: