support -c, like psql