0
0
mirror of https://github.com/bobwen-dev/htpdate synced 2025-04-11 23:00:44 +02:00
This commit is contained in:
bobwen-dev 2021-01-29 15:52:32 +08:00
commit 9dacf2c43f
2 changed files with 3 additions and 4 deletions

View File

@ -35,14 +35,13 @@ export http_proxy=http://127.0.0.1:8118
htpdate -s www.pool.ntp.org
```
## Usage
`htpdate [options...] URLs...`
### Options
```
```text
-c, --count The number of requests for each URL
Default: 4
@ -56,7 +55,7 @@ htpdate -s www.pool.ntp.org
-i, --interval The minimum milliseconds between requests
Default: 500
-k, --insecure Allow insecure server connections when using SSL
-k, --insecure Allow insecure server connections when using https
Default: false
-m, --method HTTP method

View File

@ -56,7 +56,7 @@ argv = require('./argv') {
type: 'number'
}
insecure: {
describe: 'Allow insecure server connections when using SSL'
describe: 'Allow insecure server connections when using https'
alias: 'k'
default: false
type: 'boolean'