KIJIREPO-14. Fix the problem of subtool flags failing.

When processing the command line arguments for the base tool, only ensure that
it receives the subtool name argument and force subtool arguments to only get
processed by the subtool.

Reviewer: lsheng