make_cert: return error when invalid options are used
authorRoberto Vargas <roberto.vargas@arm.com>
Wed, 27 Jun 2018 07:23:22 +0000 (08:23 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Wed, 27 Jun 2018 07:25:20 +0000 (08:25 +0100)
commit600835d028a1303346a981eb6080a766806a6ae5
tree9ff4a53c2d95c41eb6e4bc6625ed7d1aee75f0ef
parentf790cc0a9c492cf3615c82574e2c3f1ff8af0a3d
make_cert: return error when invalid options are used

Print_help was used in different contexts and returning no
error in that function was hiding the error when incorrect
options were used.

Change-Id: Ic3f71748be7ff8440c9d54810b986e9f177f4439
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
tools/cert_create/src/main.c