Re: [PATCH 2/2] test-bloom: check that we have expected arguments
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Apr 23, 2020, 21:02 UTC
- Message-ID
- <20200423210248.GB46862@syl.local>
- In-Reply-To
- <20200423205914.GB1634224@coredump.intra.peff.net>
On Thu, Apr 23, 2020 at 04:59:14PM -0400, Jeff King wrote:
Show 6 quoted lines
> If "test-tool bloom" is not fed a command, or if arguments are missing > for some commands, it will just segfault. Let's check argc and write a > friendlier usage message. > > Signed-off-by: Jeff King <peff@peff.net> > ---
Looks all good.
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Thanks, Taylor