Debian Codegraph @

testdata/expected-doc-full.man

raw
1 .nh
2 .TH greet 8
3
4 .SH NAME
5 .PP
6 greet - Some app
7
8
9 .SH SYNOPSIS
10 .PP
11 greet
12
13 .PP
14 .RS
15
16 .nf
17 [--another-flag|-b]
18 [--flag|--fl|-f]=[value]
19 [--socket|-s]=[value]
20
21 .fi
22 .RE
23
24
25 .SH DESCRIPTION
26 .PP
27 Description of the application.
28
29 .PP
30 \fBUsage\fP:
31
32 .PP
33 .RS
34
35 .nf
36 app [first_arg] [second_arg]
37
38 .fi
39 .RE
40
41
42 .SH GLOBAL OPTIONS
43 .PP
44 \fB--another-flag, -b\fP: another usage text
45
46 .PP
47 \fB--flag, --fl, -f\fP="":
48
49 .PP
50 \fB--socket, -s\fP="": some 'usage' text (default: value)
51
52
53 .SH COMMANDS
54 .SH config, c
55 .PP
56 another usage test
57
58 .PP
59 \fB--another-flag, -b\fP: another usage text
60
61 .PP
62 \fB--flag, --fl, -f\fP="":
63
64 .SS sub-config, s, ss
65 .PP
66 another usage test
67
68 .PP
69 \fB--sub-command-flag, -s\fP: some usage text
70
71 .PP
72 \fB--sub-flag, --sub-fl, -s\fP="":
73
74 .SH info, i, in
75 .PP
76 retrieve generic information
77
78 .SH some-command
79 .SH usage, u
80 .PP
81 standard usage text
82
83 .PP
84 .RS
85
86 .nf
87 Usage for the usage text
88 - formatted: Based on the specified ConfigMap and summon secrets.yml
89 - list: Inspect the environment for a specific process running on a Pod
90 - for_effect: Compare 'namespace' environment with 'local'
91
92 ```
93 func() { ... }
94 ```
95
96 Should be a part of the same code block
97
98 .fi
99 .RE
100
101 .PP
102 \fB--another-flag, -b\fP: another usage text
103
104 .PP
105 \fB--flag, --fl, -f\fP="":
106
107 .SS sub-usage, su
108 .PP
109 standard usage text
110
111 .PP
112 .RS
113
114 .PP
115 Single line of UsageText
116
117 .RE
118
119 .PP
120 \fB--sub-command-flag, -s\fP: some usage text