Inform user when argparse fails to create arguments

Fixes #320
yaml checker: check if action 'store_const' has key 'const'
Merge pull request #323 from TomasTomecek/issue#320

Fixes #320