diff options
author | Jeff King <peff@peff.net> | 2020-04-23 23:59:14 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-24 02:05:29 +0300 |
commit | 1b4c57fa87e121f155863f898dc39d06cf4a1d99 (patch) | |
tree | c62e3e3db1548eb5eba5b0b1660dc808a7d0aedc /builtin/commit.c | |
parent | 24b7d1e7b07aa1329d0d75f7922af8ef3e0782d2 (diff) |
test-bloom: check that we have expected arguments
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>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions