Skip to content

Commit c8d9c77

Browse files
committed
test(mangen): Add all flatten related tests from builder
Add all tests from tests/builder/help.rs to mangen, too. Signed-off-by: Paul Spooren <mail@aparcar.org>
1 parent 041656f commit c8d9c77

13 files changed

+653
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR <\fB\-\-parent\fR> [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent test\fR <\fB\-\-child\fR> [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent help\fR
12+
.SH DESCRIPTION
13+
parent command
14+
.SH OPTIONS
15+
.TP
16+
\fB\-\-parent\fR
17+
18+
.TP
19+
\fB\-h\fR, \fB\-\-help\fR
20+
Print help
21+
.SH SUBCOMMANDS
22+
.TP
23+
\fBtest\fR <\fB\-\-child\fR> [\fB\-h\fR|\fB\-\-help\fR]
24+
test command
25+
.TP
26+
\fBhelp\fR
27+
Print this message or the help of the given subcommand(s)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent test\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent help\fR
12+
.SH DESCRIPTION
13+
parent command
14+
.SH OPTIONS
15+
.TP
16+
\fB\-\-parent\fR
17+
18+
.TP
19+
\fB\-h\fR, \fB\-\-help\fR
20+
Print help
21+
.SH SUBCOMMANDS
22+
.TP
23+
\fBtest\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
24+
test command
25+
.TP
26+
\fBhelp\fR
27+
Print this message or the help of the given subcommand(s)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent test\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent help\fR
12+
.SH DESCRIPTION
13+
parent command
14+
.SH OPTIONS
15+
.TP
16+
\fB\-\-parent\fR
17+
bar
18+
.TP
19+
\fB\-h\fR, \fB\-\-help\fR
20+
Print help (see a summary with \*(Aq\-h\*(Aq)
21+
.SH SUBCOMMANDS
22+
.TP
23+
\fBtest\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
24+
long some
25+
.TP
26+
\fBhelp\fR
27+
Print this message or the help of the given subcommand(s)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent child1\fR [\fB\-\-child1\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent child2\fR [\fB\-\-child2\fR] [\fB\-h\fR|\fB\-\-help\fR]
12+
.br
13+
\fBparent child3\fR [\fB\-\-child3\fR] [\fB\-h\fR|\fB\-\-help\fR]
14+
.br
15+
\fBparent help\fR
16+
.SH DESCRIPTION
17+
parent command
18+
.SH OPTIONS
19+
.TP
20+
\fB\-\-parent\fR
21+
22+
.TP
23+
\fB\-h\fR, \fB\-\-help\fR
24+
Print help
25+
.SH SUBCOMMANDS
26+
.TP
27+
\fBchild1\fR [\fB\-\-child1\fR] [\fB\-h\fR|\fB\-\-help\fR]
28+
child1 command
29+
.TP
30+
\fBchild2\fR [\fB\-\-child2\fR] [\fB\-h\fR|\fB\-\-help\fR]
31+
child2 command
32+
.TP
33+
\fBhelp\fR
34+
Print this message or the help of the given subcommand(s)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent child1\fR [\fB\-\-child1\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent child2\fR [\fB\-\-child2\fR] [\fB\-h\fR|\fB\-\-help\fR]
12+
.br
13+
\fBparent child3\fR [\fB\-\-child3\fR] [\fB\-h\fR|\fB\-\-help\fR]
14+
.br
15+
\fBparent help\fR
16+
.SH DESCRIPTION
17+
parent command
18+
.SH OPTIONS
19+
.TP
20+
\fB\-\-parent\fR
21+
22+
.TP
23+
\fB\-h\fR, \fB\-\-help\fR
24+
Print help
25+
.SH SUBCOMMANDS
26+
.TP
27+
\fBchild1\fR [\fB\-\-child1\fR] [\fB\-h\fR|\fB\-\-help\fR]
28+
child1 command
29+
.TP
30+
\fBchild2\fR [\fB\-\-child2\fR] [\fB\-h\fR|\fB\-\-help\fR]
31+
child2 command
32+
.TP
33+
\fBchild3\fR [\fB\-\-child3\fR] [\fB\-h\fR|\fB\-\-help\fR]
34+
child3 command
35+
.TP
36+
\fBhelp\fR
37+
Print this message or the help of the given subcommand(s)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent child1\fR [\fB\-\-child1\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent child2\fR [\fB\-\-child2\fR] [\fB\-h\fR|\fB\-\-help\fR]
12+
.br
13+
\fBparent child3\fR [\fB\-\-child3\fR] [\fB\-h\fR|\fB\-\-help\fR]
14+
.br
15+
\fBparent help\fR
16+
.SH DESCRIPTION
17+
parent command
18+
.SH OPTIONS
19+
.TP
20+
\fB\-\-parent\fR
21+
22+
.TP
23+
\fB\-h\fR, \fB\-\-help\fR
24+
Print help
25+
.SH SUBCOMMANDS
26+
.TP
27+
\fBchild1\fR [\fB\-\-child1\fR] [\fB\-h\fR|\fB\-\-help\fR]
28+
child1 command
29+
.TP
30+
\fBchild2\fR [\fB\-\-child2\fR] [\fB\-h\fR|\fB\-\-help\fR]
31+
child2 command
32+
.TP
33+
\fBhelp\fR
34+
Print this message or the help of the given subcommand(s)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent child1\fR [\fB\-\-child1\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent help\fR
12+
.SH DESCRIPTION
13+
parent command
14+
.SH OPTIONS
15+
.TP
16+
\fB\-\-parent\fR
17+
18+
.TP
19+
\fB\-h\fR, \fB\-\-help\fR
20+
Print help
21+
.SH SUBCOMMANDS
22+
.TP
23+
\fBhelp\fR
24+
Print this message or the help of the given subcommand(s)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent test\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent help\fR
12+
.SH DESCRIPTION
13+
parent command
14+
.SH OPTIONS
15+
.TP
16+
\fB\-\-parent\fR
17+
18+
.TP
19+
\fB\-h\fR, \fB\-\-help\fR
20+
Print help
21+
.SH SUBCOMMANDS
22+
.TP
23+
\fBtest\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
24+
test command
25+
.TP
26+
\fBhelp\fR
27+
Print this message or the help of the given subcommand(s)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent test\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent help\fR
12+
.SH DESCRIPTION
13+
parent command
14+
.SH OPTIONS
15+
.TP
16+
\fB\-\-parent\fR
17+
18+
.TP
19+
\fB\-h\fR, \fB\-\-help\fR
20+
Print help
21+
.SH SUBCOMMANDS
22+
.TP
23+
\fBtest\fR [\fB\-\-child\fR] [\fB\-h\fR|\fB\-\-help\fR]
24+
test command
25+
.TP
26+
\fBhelp\fR
27+
Print this message or the help of the given subcommand(s)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.ie \n(.g .ds Aq \(aq
2+
.el .ds Aq '
3+
.TH parent 1 "parent "
4+
.SH NAME
5+
parent \- parent command
6+
.SH SYNOPSIS
7+
\fBparent\fR [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
8+
.br
9+
\fBparent test\fR [\fB\-\-child\fR] [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
10+
.br
11+
\fBparent help\fR
12+
.SH DESCRIPTION
13+
parent command
14+
.SH OPTIONS
15+
.TP
16+
\fB\-\-parent\fR
17+
18+
.TP
19+
\fB\-h\fR, \fB\-\-help\fR
20+
Print help
21+
.SH SUBCOMMANDS
22+
.TP
23+
\fBtest\fR [\fB\-\-child\fR] [\fB\-\-parent\fR] [\fB\-h\fR|\fB\-\-help\fR]
24+
test command
25+
.TP
26+
\fBhelp\fR
27+
Print this message or the help of the given subcommand(s)

0 commit comments

Comments
 (0)