Re: [PATCH v1] xentrace: adjust exit code for --help option

2023-07-28 Thread George Dunlap
On Fri, May 26, 2023 at 1:38 PM Olaf Hering wrote: > Invoking the --help option of any tool should not return with an error, > if that tool does have a documented and implemented help option. > > Adjust the usage() function to exit with either error or success. > Handle the existing entry in the

Re: [PATCH v1] xentrace: adjust exit code for --help option

2023-06-01 Thread Olaf Hering
Thu, 1 Jun 2023 10:17:17 +0200 Jan Beulich : > Is this any different from the v1 sent on May 26th? Yeah, this one still has the bogus commit message. I forgot that this patch was already sent earlier. Please ignore this one. Olaf pgpLWnjH0JCfF.pgp Description: Digitale Signatur von OpenPGP

Re: [PATCH v1] xentrace: adjust exit code for --help option

2023-06-01 Thread Jan Beulich
On 01.06.2023 10:08, Olaf Hering wrote: > Invoking the --help option of any tool should not return with an error, > if that tool does indeed have a documented and implemented help option. > > Adjust the usage() function to exit with either error or success. > Handle the existing entry in the optio

[PATCH v1] xentrace: adjust exit code for --help option

2023-06-01 Thread Olaf Hering
Invoking the --help option of any tool should not return with an error, if that tool does indeed have a documented and implemented help option. Adjust the usage() function to exit with either error or success. Handle the existing entry in the option table to call usage accordingly. Adjust the get

[PATCH v1] xentrace: adjust exit code for --help option

2023-05-26 Thread Olaf Hering
Invoking the --help option of any tool should not return with an error, if that tool does have a documented and implemented help option. Adjust the usage() function to exit with either error or success. Handle the existing entry in the option table to call usage accordingly. Adjust the getopt val