BOUT-dev icon indicating copy to clipboard operation
BOUT-dev copied to clipboard

Options file equivalents for command line flags

Open johnomotani opened this issue 4 years ago • 1 comments

There are command line flags like --verbose and --quiet that it might be nice to be able to set in a BOUT.inp file as an alternative. I don't think this is possible currently? For example, maybe passing --verbose could set a top-level option verbose=1, or -v -v -v could set verbose=3, and then the option could also be specified in a BOUT.inp. The option would then be used to set the actual verbosity.

johnomotani avatar Mar 09 '21 21:03 johnomotani

This should be fairly easy I think. In #2210 I change the command line parsing to convert -d into datadir= and so on, and the same machinery could be used to convert the verbosity arguments too.

ZedThree avatar Mar 22 '21 09:03 ZedThree