update rungcc to support command-line arguments, and fix snippet