-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathusage.js
More file actions
executable file
·42 lines (42 loc) · 763 Bytes
/
usage.js
File metadata and controls
executable file
·42 lines (42 loc) · 763 Bytes
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
module.exports = [
{
header: 'raw-http-capture',
content: 'Dump raw HTTP requests/responses to the console.',
},
{
header: 'Usage',
content: '$ raw-http-capture [<options>] <client-host>',
},
{
header: 'Options',
optionList: [
{
name: 'ssl',
alias: 's',
description: 'Enable SSL connection on client.',
},
{
name: 'server-port',
alias: 'l',
typeLabel: '12345',
description: 'Port to listen on.',
},
{
name: 'ssl',
alias: 'h',
typeLabel: '0.0.0.0',
description: 'Host to listen on.',
},
{
name: 'client-port',
alias: 'p',
typeLabel: '80',
description: 'The port to connect to.',
},
{
name: 'help',
description: 'Print this usage guide.',
}
]
}
];