tests/pm_rpm: Convert to new optparsing
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 19:14:24 +0000 (21:14 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 19:41:18 +0000 (21:41 +0200)
commit3efcb8c8ee3bade05cd01edf809f803a376f24a5
treefa7e3ec361b866a0b0bd992c0eb42e922d167c5b
parent556ebc7a7cdec2f5cfa90c8503e0a7e9493154c5
tests/pm_rpm: Convert to new optparsing

Thomas missed the add-hoc parameter parsing in here, which did break
things for Paulo since the core now fails for unknown options.

Convert them over to the new infrastructure, which has the nice upside
that we can remove the comments and put them into the usage available
with --help.

Cc: Thomas Wood <thomas.wood@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_rpm.c