--refresh option

What exactly does the --referesh option do when running sen2cor and how/when should I use it?
I run into AttributeErrors a lot when running sen2cor and this thread mentions to use it.
The user manual just states it “Performs a refresh of the persistent configuration”