Fix `--check-config` usage. Refs #884.
Merge pull request #897 from benoitc/fix-884

Fix `--check-config` usage. Refs #884.