fix non-standard reason string in main.cpp
Merge pull request #3666

bbfce8a fix non-standard reason string in main.cpp (Philip Kaufmann)