Skip to content

Commit acaa3d3

Browse files
author
AJ ONeal
committed
make Prettier, document --silent
1 parent 8ba42a0 commit acaa3d3

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

.prettierrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"singleQuote": false,
5+
"bracketSpacing": true,
6+
"proseWrap": "always",
7+
"semi": true
8+
}

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# sclient
22

3-
Secure Client for exposing TLS (aka SSL) secured services as plain-text connections locally.
3+
Secure Client for exposing TLS (aka SSL) secured services as plain-text
4+
connections locally.
45

56
Also ideal for multiplexing a single port with multiple protocols using SNI.
67

@@ -30,7 +31,8 @@ cURL
3031
curl http://localhost:3000 -H 'Host: whatever.com'
3132
```
3233

33-
A poor man's (or Windows user's) makeshift replacement for `openssl s_client`, `stunnel`, or `socat`.
34+
A poor man's (or Windows user's) makeshift replacement for `openssl s_client`,
35+
`stunnel`, or `socat`.
3436

3537
# Table of Contents
3638

@@ -53,9 +55,11 @@ curl.exe -A MS https://webinstall.dev/sclient | powershell
5355

5456
### Downloads
5557

56-
Check the [Github Releases](https://github.com/therootcompany/sclient/releases) for
58+
Check the [Github Releases](https://github.com/therootcompany/sclient/releases)
59+
for
5760

58-
- macOS (x64) Apple Silicon [coming soon](https://github.com/golang/go/issues/39782)
61+
- macOS (x64) Apple Silicon
62+
[coming soon](https://github.com/golang/go/issues/39782)
5963
- Linux (x64, i386, arm64, arm6, arm7)
6064
- Windows 10 (x64, i386)
6165

@@ -66,8 +70,10 @@ sclient [flags] <remote> <local>
6670
```
6771

6872
- flags
73+
- -s, --silent less verbose logging
6974
- -k, --insecure ignore invalid TLS (SSL/HTTPS) certificates
70-
- --servername <string> spoof SNI (to disable use IP as &lt;remote&gt; and do not use this option)
75+
- --servername <string> spoof SNI (to disable use IP as &lt;remote&gt; and do
76+
not use this option)
7177
- remote
7278
- must have servername (i.e. example.com)
7379
- port is optional (default is 443)
@@ -123,8 +129,8 @@ sclient --servername "../../../.hidden/private.txt" -k example.com localhost:300
123129

124130
# Build from source
125131

126-
You'll need to install [Go](https://golang.org).
127-
See [webinstall.dev/golang](https://webinstall.dev/golang) for install instructions.
132+
You'll need to install [Go](https://golang.org). See
133+
[webinstall.dev/golang](https://webinstall.dev/golang) for install instructions.
128134

129135
```bash
130136
curl -sS https://webinstall.dev/golang | bash

0 commit comments

Comments
 (0)