objtool: Exit successfully when requesting help
authorMatt Helsley <mhelsley@vmware.com>
Tue, 19 May 2020 20:55:31 +0000 (13:55 -0700)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Wed, 20 May 2020 13:32:52 +0000 (08:32 -0500)
commitf15c648f202cd0232d4a9c98627bc08bcd6d11ee
tree46c79fece4548e15d563ab63cace311f9fd07b01
parentae033f088f277efd5b3c6d681ce9e7682380efff
objtool: Exit successfully when requesting help

When the user requests help it's not an error so do not exit with
a non-zero exit code. This is not especially useful for a user but
any script that might wish to check that objtool --help is at least
available can't rely on the exit code to crudely check that, for
example, building an objtool executable succeeds.

Signed-off-by: Matt Helsley <mhelsley@vmware.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
tools/objtool/objtool.c