git-arc(1): fix usage formatting for stage command

The branch argument is conditional on the -b flag.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D30262
This commit is contained in:
Mitchell Horne 2021-05-14 17:32:47 -03:00
parent e73e2ee0ac
commit cf653b7abe

View File

@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd February 7, 2021
.Dd May 14, 2021
.Dt GIT-ARC 1
.Os
.Sh NAME
@ -43,8 +43,8 @@
.Cm patch Ar diff1 Ns Op Cm \&, Ns Ar diff2
.Nm
.Cm stage
.Op Fl b
.Ar branch Op Ar commit Ns | Ns Ar commit-range
.Op Fl b Ar branch
.Op Ar commit Ns | Ns Ar commit-range
.Nm
.Cm update
.Op Ar commit Ns | Ns Ar commit-range Oc