command parsing.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>