The drmgr command incorrectly returns -1 when passed the --capabilities option. This patch corrects drmgr to properly return zero when passed the --capabilities flag.
The drmgr command incorrectly returns -1 when passed the --capabilities option.
This patch corrects drmgr to properly return zero when passed the
--capabilities flag.

The fix for this involves getting rid of parse_and_validate_options()
so that we can handle cases where we just want to display the capabilites
or usage messages properly.

This issue was introduced by this commit:
http://sourceforge.net/p/powerpc-utils/powerpc-utils/ci/b2fb611e87ebdb27a6b923cf1ac076eb364870b8

Signed-off-by: Nathan Fontenot <4b7bfe500077bf77c5456931a34b0b70e36e0bc6@linux.vnet.ibm.com>

tyreld/powerpc-utils,leitao/powerpc-ibm-utils-debian,kamalesh-babulal/powerpc-utils,shenki/powerpc-utils,mdroth/powerpc-utils,leitao/powerpc-ibm-utils-debian,mdroth/powerpc-utils,kamalesh-babulal/powerpc-utils,kamalesh-babulal/powerpc-utils,tyreld/powerpc-utils,leitao/powerpc-ibm-utils-debian,shenki/powerpc-utils,shenki/powerpc-utils,mdroth/powerpc-utils,tyreld/powerpc-utils