# [PATCH] show-ref: place angle brackets around variable in usage string

2 messages from 2015-08-27 to 2015-08-28. Participants: Alex Henrie, Junio C Hamano.
Thread: https://gitlist.dev/t/40191

## Alex Henrie, 2015-08-27 04:26

Subject: [PATCH] show-ref: place angle brackets around variable in usage string
Message-ID: <1440649612-3667-1-git-send-email-alexhenrie24@gmail.com>
URL: https://gitlist.dev/e/1440649612-3667-1-git-send-email-alexhenrie24%40gmail.com

```
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/show-ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/show-ref.c b/builtin/show-ref.c
index dfbc314..d9c1633 100644
--- a/builtin/show-ref.c
+++ b/builtin/show-ref.c
@@ -8,7 +8,7 @@
 
 static const char * const show_ref_usage[] = {
 	N_("git show-ref [-q | --quiet] [--verify] [--head] [-d | --dereference] [-s | --hash[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [<pattern>...]"),
-	N_("git show-ref --exclude-existing[=pattern] < ref-list"),
+	N_("git show-ref --exclude-existing[=pattern] < <ref-list>"),
 	NULL
 };
 
-- 
2.5.0

```

## Junio C Hamano, 2015-08-28 18:07

Subject: Re: [PATCH] show-ref: place angle brackets around variable in usage string
Message-ID: <xmqq37z32som.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqq37z32som.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <1440649612-3667-1-git-send-email-alexhenrie24@gmail.com>

```
Alex Henrie <alexhenrie24@gmail.com> writes:

> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  builtin/show-ref.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/show-ref.c b/builtin/show-ref.c
> index dfbc314..d9c1633 100644
> --- a/builtin/show-ref.c
> +++ b/builtin/show-ref.c
> @@ -8,7 +8,7 @@
>  
>  static const char * const show_ref_usage[] = {
>  	N_("git show-ref [-q | --quiet] [--verify] [--head] [-d | --dereference] [-s | --hash[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [<pattern>...]"),
> -	N_("git show-ref --exclude-existing[=pattern] < ref-list"),
> +	N_("git show-ref --exclude-existing[=pattern] < <ref-list>"),
>  	NULL
>  };

Isn't "--exclude-existing[=<pattern>]" also a placeholder?

```
