threads / patch / 40191

patchshow-ref: place angle brackets around variable in usage string

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

## tl;dr

2 messages between Aug 27, 2015 and Aug 28, 2015. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Alex Henrie· Aug 27, 2015, 04:26 UTC · lore
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/show-ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/show-ref.c +1 −1
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· Aug 28, 2015, 18:07 UTC · re: Alex Henrie · lore

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

Alex Henrie <alexhenrie24@gmail.com> writes:
Show 17 quoted lines
> 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?

← back to recent threads