Re: [PATCH 1/2] remote: Remove -v/--verbose option from git remote show synopsis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ah, yes, right. Please dismiss 1,2 patches.

Sorry for noise

2015-01-09 1:17 GMT+06:00 René Scharfe <l.s.r@xxxxxx>:
> Am 08.01.2015 um 18:57 schrieb Alexander Kuleshov:
>>
>> git remote show doesn't use -v/--verbose option
>
>
> Hmm, but it does?
>
>         $ git version
>         git version 2.2.1
>         $ git remote show
>         origin
>         $ git remote -v show
>         origin  git://git.kernel.org/pub/scm/git/git.git (fetch)
>         origin  git://git.kernel.org/pub/scm/git/git.git (push)
>
> Perhaps you meant the following variant?  The changed line documents the one
> above, though (-v before show).
>
>         $ git remote show -v
>         error: unknown switch `v'
>         usage: git remote show [<options>] <name>
>
>             -n                    do not query remotes
>
>
>> Signed-off-by: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
>> ---
>>   builtin/remote.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/builtin/remote.c b/builtin/remote.c
>> index 46ecfd9..978c645 100644
>> --- a/builtin/remote.c
>> +++ b/builtin/remote.c
>> @@ -14,7 +14,7 @@ static const char * const builtin_remote_usage[] = {
>>         N_("git remote rename <old> <new>"),
>>         N_("git remote remove <name>"),
>>         N_("git remote set-head <name> (-a | --auto | -d | --delete
>> |<branch>)"),
>> -       N_("git remote [-v | --verbose] show [-n] <name>"),
>> +       N_("git remote show [-n] <name>"),
>>         N_("git remote prune [-n | --dry-run] <name>"),
>>         N_("git remote [-v | --verbose] update [-p | --prune] [(<group> |
>> <remote>)...]"),
>>         N_("git remote set-branches [--add] <name> <branch>..."),
>>
>



-- 
_________________________
0xAX
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]