TylerBrock/mongo-hacker — pull request #3 by abhas (2012-09-10 16:44:14+00:00)
Title: Show an error message when the mongo shell version is old

A small 2 line hack to display a red coloured error message when the mongo shell version is old.

After displaying the error, I couldn't figure out how to exit from the shell. So the script will continue to execute and give the earlier error as well.

Hope this helps!