# [PATCH] Add missing -z to git check-attr usage text for consistency with man page

2 messages from 2012-09-17 to 2012-09-17. Participants: Adam Spiers, Junio C Hamano.
Thread: https://gitlist.dev/t/31562

## Adam Spiers, 2012-09-17 11:38

Subject: [PATCH] Add missing -z to git check-attr usage text for consistency with man page
Message-ID: <1347881931-9129-1-git-send-email-git@adamspiers.org>
URL: https://gitlist.dev/e/1347881931-9129-1-git-send-email-git%40adamspiers.org

```
Signed-off-by: Adam Spiers <git@adamspiers.org>
---
 builtin/check-attr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/check-attr.c b/builtin/check-attr.c
index e1ff575..075d01d 100644
--- a/builtin/check-attr.c
+++ b/builtin/check-attr.c
@@ -9,7 +9,7 @@ static int cached_attrs;
 static int stdin_paths;
 static const char * const check_attr_usage[] = {
 N_("git check-attr [-a | --all | attr...] [--] pathname..."),
-N_("git check-attr --stdin [-a | --all | attr...] < <list-of-paths>"),
+N_("git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>"),
 NULL
 };
 
-- 
1.7.12.147.g6d168f4

```

## Junio C Hamano, 2012-09-17 20:45

Subject: Re: [PATCH] Add missing -z to git check-attr usage text for consistency with man page
Message-ID: <7vipbctm3g.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vipbctm3g.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1347881931-9129-1-git-send-email-git@adamspiers.org>

```
Adam Spiers <git@adamspiers.org> writes:

> Signed-off-by: Adam Spiers <git@adamspiers.org>
> ---
>  builtin/check-attr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/check-attr.c b/builtin/check-attr.c
> index e1ff575..075d01d 100644
> --- a/builtin/check-attr.c
> +++ b/builtin/check-attr.c
> @@ -9,7 +9,7 @@ static int cached_attrs;
>  static int stdin_paths;
>  static const char * const check_attr_usage[] = {
>  N_("git check-attr [-a | --all | attr...] [--] pathname..."),
> -N_("git check-attr --stdin [-a | --all | attr...] < <list-of-paths>"),
> +N_("git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>"),
>  NULL
>  };

I think this deserves to go to 'maint' that does not yet
have the i18n on this part, so I'll wiggle the patch to apply there
and merge it up.

Thanks.

```
