threads / patch / 36335

patchrev-parse: fix typo in example on manpage

Subject: [PATCH] rev-parse: fix typo in example on manpage

## tl;dr

3 messages between Apr 1, 2014 and Apr 2, 2014. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

René Scharfe· Apr 1, 2014, 19:27 UTC · lore
---
 Documentation/git-rev-parse.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-rev-parse.txt +1 −1
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index e05e6b3..377d9d7 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -363,7 +363,7 @@ usage: some-command [options] <args>...
     -h, --help            show the help
     --foo                 some nifty option --foo
     --bar ...             some cool option --bar with an argument
-    --bar <arg>           another cool option --baz with a named argument
+    --baz <arg>           another cool option --baz with a named argument
     --qux[=<path>]        qux may take a path argument but has meaning by itself
 
 An option group Header
-- 
1.9.1
Junio C Hamano· Apr 2, 2014, 17:32 UTC · re: René Scharfe · lore

Re: [PATCH] rev-parse: fix typo in example on manpage

René Scharfe <l.s.r@web.de> writes:
> ---
>  Documentation/git-rev-parse.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Thanks; I'll forge your Sign-off ;-)
Show 14 quoted lines
>
> diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
> index e05e6b3..377d9d7 100644
> --- a/Documentation/git-rev-parse.txt
> +++ b/Documentation/git-rev-parse.txt
> @@ -363,7 +363,7 @@ usage: some-command [options] <args>...
>      -h, --help            show the help
>      --foo                 some nifty option --foo
>      --bar ...             some cool option --bar with an argument
> -    --bar <arg>           another cool option --baz with a named argument
> +    --baz <arg>           another cool option --baz with a named argument
>      --qux[=<path>]        qux may take a path argument but has meaning by itself
>  
>  An option group Header
René Scharfe· Apr 2, 2014, 17:36 UTC · re: Junio C Hamano · lore

Re: [PATCH] rev-parse: fix typo in example on manpage

Am 02.04.2014 19:32, schrieb Junio C Hamano:
Show 7 quoted lines
> René Scharfe <l.s.r@web.de> writes:
>
>> ---
>>   Documentation/git-rev-parse.txt | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> Thanks; I'll forge your Sign-off ;-)
Oops, sorry, and thanks.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Show 14 quoted lines
>>
>> diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
>> index e05e6b3..377d9d7 100644
>> --- a/Documentation/git-rev-parse.txt
>> +++ b/Documentation/git-rev-parse.txt
>> @@ -363,7 +363,7 @@ usage: some-command [options] <args>...
>>       -h, --help            show the help
>>       --foo                 some nifty option --foo
>>       --bar ...             some cool option --bar with an argument
>> -    --bar <arg>           another cool option --baz with a named argument
>> +    --baz <arg>           another cool option --baz with a named argument
>>       --qux[=<path>]        qux may take a path argument but has meaning by itself
>>
>>   An option group Header

← back to recent threads