Do flags override config file or vice versa?

I can set flags in the command line, or use the config file.

The docs don’t mention which overrides which. If the same option is set in both places, which one wins?