Re: [GSoC][PATCH v3 2/3] cherry-pick/revert: add --skip option

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

 



Rohit Ashiwal <rohit.ashiwal265@xxxxxxxxx> writes:

>> Is this correct, or do we need to enclose these choices inside (),
>> i.e.
>> 
>> 	'git cherry-pick' ( --continue | --skip | --abort | --quit )
>> 
>> ?
>
> Documentation of `git rebase` also lists these options without the
> '('s so, I thought to make it similar to that.

As long as you picked the ones that correctly spell their SYNOPSIS,
it is OK to model yours after them.

Seeing how "git-am.txt", "git-cat-file.txt", "git-checkout.txt", ...
"git-var.txt" etc. all use

	( choice1 | choice2 | choice3 )

when one among the choices MUST be chosen, contrasting with

	[ choice1 | choice2 | choice3 ]

when one can be chosen but not using any is also OK, I am not sure
if the documentation for "git rebase" is done right and should be
used as a model, though.



[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]

  Powered by Linux