v1.0.2: fix flag usage

This commit is contained in:
AJ ONeal 2018-08-06 17:05:39 -06:00
parent 1779a1b78d
commit ab3ad9f5af
1 changed files with 4 additions and 2 deletions

View File

@ -50,9 +50,11 @@ Usage
=====
```bash
sclient <remote> <local> [-k | --insecure]
sclient [flags] <remote> <local>
```
* flags
* -k, --insecure ignore invalid TLS (SSL/HTTPS) certificates
* remote
* must have servername (i.e. example.com)
* port is optional (default is 443)
@ -78,5 +80,5 @@ sclient telebit.cloud:443 localhost:3000
Ignore a bad TLS/SSL/HTTPS certificate and connect anyway.
```bash
sclient badtls.telebit.cloud:443 localhost:3000 -k
sclient -k badtls.telebit.cloud:443 localhost:3000
```