Make Dx argument parser reusable.

Test: will be part of tools/base tests.
Change-Id: Ib21c9ca2a95a5b78d0a229234a4f03a56cdba29c
1 file changed