v1.0.2: fix flag usage

This commit is contained in:
AJ ONeal 2018-08-06 17:05:39 -06:00
父節點 1779a1b78d
當前提交 ab3ad9f5af
共有 1 個文件被更改,包括 4 次插入2 次删除

查看文件

@ -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
```