Add optional ref argument to the "bump" command.

This pull request also fixes a little typo.