support -c, like psql
Merge pull request #897 from heroku/psql_dash_c

support -c, like psql