Skip to content
Snippets Groups Projects
Commit c73aa7b2 authored by Lyndon Brown's avatar Lyndon Brown Committed by Hugo Beauzée-Luyssen
Browse files

mosaic: cleanup option handling using range enforcement

 - cleaner code.
 - places helpful bounds on controls in gui prefs that prevent cycling out
   of range.
 - results in range hints being given in help output.

note that it is correct for ranges to be added where there is also a
choice list. ranges are enforced, whilst choice lists are not. with a
choice lists you're restricted to a droplist in gui prefs, however any
value can come from CLI or saved settings. a range is enforced upon storing
the value where ever it came from. thus it is correct and useful for them
to be used together.
parent 9486e8a0
No related branches found
No related tags found
1 merge request!1139mosaic: cleanup option handling using range enforcement
Pipeline #176552 passed with stage
in 14 minutes and 25 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment