verity: use key-value args for commandline tool

We could use getopt here, but we'd like the arg format to stay the same between
the kernel module and the userspace tool, and getopt in kernel seems gauche.

BUG=chromium-os:15772
TEST=Adhoc
Built image, booted it. All good.

Change-Id: Id15f69e195bad641d5b8f9c1c0f4536f340355ba
Signed-off-by: Elly Jones <ellyjones@google.com>
Reviewed-on: http://gerrit.chromium.org/gerrit/1739
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Elly Jones <ellyjones@chromium.org>
1 file changed