mirror of
https://github.com/bobwen-dev/htpdate
synced 2025-04-11 23:00:44 +02:00
Merge branch 'main' of https://github.com/bobwen-dev/htpdate into main
This commit is contained in:
commit
9dacf2c43f
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user