Open bhigy opened 3 years ago
Related to #62
As discussed during Teams meeting:
configargparse
parser. Let's try just replacing the whole thing.enable_help
anymore anyway, because it was used to be able to parse twice (which we did in the library code first and then second in the experiment), but we don't do that anymore.
PlataleaConfig
deactivates the help message by default and has a method calledenable_help()
to reactivate it. The way it is implemented now, arguments are parsed first and we check for the presence of the flag-h
. However, if mandatory arguments aren't provided, parsing will fail and send an error message before we get a chance to trigger the help message.This issue can be replicated by, e.g., running following command: