-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Parameters that are non-sticky (e.g., are supposed to carry their value from one to the next file and are also supposed to be settable before a file) are currently hardcoded to a default value at the beginning of parsing each file. Setting the parameter before a file currently has no impact, and the next file will also start with the hardcoded default and not with the last option of the previous file.
This needs some rework, and whenever a parameter is set outside of a file, the current default will be overwritten. Whenever such a parameter is set within a file, it will be inserted in the ordered args and not reflected on the global args.
The variables saving the current state during parsing can then be set outside of the file for loop with the global value and will then be updated correctly with the file loop through each file.