# [PATCH] test-bloom: fix missing 'bloom' from usage string

2 messages from 2021-04-06 to 2021-04-06. Participants: Christian Couder, Derrick Stolee.
Thread: https://gitlist.dev/t/55438

## Christian Couder, 2021-04-06 02:35

Subject: [PATCH] test-bloom: fix missing 'bloom' from usage string
Message-ID: <20210406023514.27060-1-chriscool@tuxfamily.org>
URL: https://gitlist.dev/e/20210406023514.27060-1-chriscool%40tuxfamily.org

```
Like 'get_murmur3' and 'generate_filter', 'get_filter_for_commit' is a
subcommand of `test-tool bloom` not of `test-tool` itself.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 t/helper/test-bloom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/helper/test-bloom.c b/t/helper/test-bloom.c
index 2a1ae3dae6..ad3ef1cd77 100644
--- a/t/helper/test-bloom.c
+++ b/t/helper/test-bloom.c
@@ -48,7 +48,7 @@ static void get_bloom_filter_for_commit(const struct object_id *commit_oid)
 static const char *bloom_usage = "\n"
 "  test-tool bloom get_murmur3 <string>\n"
 "  test-tool bloom generate_filter <string> [<string>...]\n"
-"  test-tool get_filter_for_commit <commit-hex>\n";
+"  test-tool bloom get_filter_for_commit <commit-hex>\n";
 
 int cmd__bloom(int argc, const char **argv)
 {
-- 
2.31.1.189.g2e36527f23


```

## Derrick Stolee, 2021-04-06 13:05

Subject: Re: [PATCH] test-bloom: fix missing 'bloom' from usage string
Message-ID: <149395c6-1c68-cf8b-2322-e62b0e48c652@gmail.com>
URL: https://gitlist.dev/e/149395c6-1c68-cf8b-2322-e62b0e48c652%40gmail.com
In-Reply-To: <20210406023514.27060-1-chriscool@tuxfamily.org>

```
On 4/5/2021 10:35 PM, Christian Couder wrote:
> Like 'get_murmur3' and 'generate_filter', 'get_filter_for_commit' is a
> subcommand of `test-tool bloom` not of `test-tool` itself.
> 
> Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
> ---
>  t/helper/test-bloom.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/t/helper/test-bloom.c b/t/helper/test-bloom.c
> index 2a1ae3dae6..ad3ef1cd77 100644
> --- a/t/helper/test-bloom.c
> +++ b/t/helper/test-bloom.c
> @@ -48,7 +48,7 @@ static void get_bloom_filter_for_commit(const struct object_id *commit_oid)
>  static const char *bloom_usage = "\n"
>  "  test-tool bloom get_murmur3 <string>\n"
>  "  test-tool bloom generate_filter <string> [<string>...]\n"
> -"  test-tool get_filter_for_commit <commit-hex>\n";
> +"  test-tool bloom get_filter_for_commit <commit-hex>\n";

Obviously correct. Good find.

Thanks,
-Stolee

```
