Open daviddoria opened 13 years ago
Currently some defaults are hard coded in Settings.cpp, some are in LfnIcSettings.h. They are all retrieved from the user in the AppData constructor which calls SettingsConstruct in Settings.cpp. But all of the information about the user inputs is in CommandLineOptions? Phew, this is hard to follow!
Would it be possible to combine all of these into a Settings class which sets the defaults, stores the settings, and also knows how to get them from the user?
I tried to run with -sw 2 -sh 2 to make the patch size small but I get:
Invalid settings:
I see that the min is 4. I guess there is a problem with the error output then, it should say (2 < 4) not (2 < 0).