Fix config argument recognition.
Merge pull request #4153 from AndresTanasijczuk/optparser_config

Fix config argument recognition.