Re: [RFC][PATCH 1/5] objtool: Exit successfully when requesting help

2020-05-18 Thread Matt Helsley
On Fri, May 15, 2020 at 02:52:53PM -0500, Josh Poimboeuf wrote: > On Mon, May 11, 2020 at 10:35:09AM -0700, Matt Helsley wrote: > > 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

Re: [RFC][PATCH 1/5] objtool: Exit successfully when requesting help

2020-05-15 Thread Josh Poimboeuf
On Mon, May 11, 2020 at 10:35:09AM -0700, Matt Helsley wrote: > 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

[RFC][PATCH 1/5] objtool: Exit successfully when requesting help

2020-05-11 Thread Matt Helsley
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