Better argument parsing.

svn path=/trunk/tools/quickbook/; revision=83134