saltstack/salt — pull request #9999 by cachedout (2014-01-28 18:55:29+00:00)
Title: Catch bad args in salt-call

Instead of throwing an ugly stack trace, catch a type error, format the exception and display it. Then exit with a proper retcode.