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