blob: d362421e9f08d786f31a1ac9c20c0d72ecc80ee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
'\" t
.TH "MY\-COMMAND" "1"
.nh
.ad l
.ss \n[.ss] 0
.SH "NAME"
my\-command \- A brief description
.SH "SYNOPSIS"
\fBmy\-command\fR [\fB\-\-abc\fR | \fB\-\-xyz\fR] \fIname\fR
.br
\fBmy\-command\fR [\fB\-f\fR \fIfile\fR]
.br
\fBmy\-command\fR (\fB\-m\fR | \fB\-M\fR) [\fIoldbranch\fR] \fInewbranch\fR
.br
\fBmy\-command\fR (\fB\-d\fR | \fB\-D\fR) [\fB\-r\fR] \fIbranchname\fR\[u2026]
.SH "DESCRIPTION"
A description of the command.
.sp
.RS 4
\h'-04'\(bu\h'+02'One
.sp
.RS 4
\h'-04'\(bu\h'+02'Sub one
.RE
.sp
.RS 4
\h'-04'\(bu\h'+02'Sub two
.RE
.RE
.sp
.RS 4
\h'-04'\(bu\h'+02'Two
.RE
.sp
.RS 4
\h'-04'\(bu\h'+02'Three
.RE
.SH "OPTIONS"
.SS "Command options"
.sp
\fB\-\-foo\-bar\fR
.RS 4
Demo \fIemphasis\fR, \fBstrong\fR, ~~strike~~
.RE
.sp
\fB\-p\fR \fIspec\fR,
\fB\-\-package\fR \fIspec\fR
.RS 4
This has multiple flags.
.RE
.sp
\fInamed\-arg\[u2026]\fR
.RS 4
A named argument.
.RE
.SS "Common Options"
.sp
\fB@\fR\fIfilename\fR
.RS 4
Load from filename.
.RE
.sp
\fB\-\-foo\fR [\fIbar\fR]
.RS 4
Flag with optional value.
.RE
.sp
\fB\-\-foo\fR[\fB=\fR\fIbar\fR]
.RS 4
Alternate syntax for optional value (with required = for disambiguation).
.RE
.SH "EXAMPLES"
.sp
.RS 4
\h'-04' 1.\h'+01'An example
.sp
.RS 4
.nf
my\-command \-\-abc
.fi
.RE
.RE
.sp
.RS 4
\h'-04' 2.\h'+01'Another example
.sp
.RS 4
.nf
my\-command \-\-xyz
.fi
.RE
.RE
.SH "SEE ALSO"
\fBother\-command\fR(1) \fBabc\fR(7)
|