diff --git a/README.md b/README.md index 7fed24a..0633e51 100644 --- a/README.md +++ b/README.md @@ -25,14 +25,14 @@ htpdate -s -p http www.pool.ntp.org Mix http url and https url ```bash -htpdate http://www.pool.ntp.org https://www.openssl.org +htpdate -s http://www.pool.ntp.org https://www.openssl.org ``` Access through a http proxy ```bash export http_proxy=http://127.0.0.1:8118 -htpdate www.pool.ntp.org +htpdate -s www.pool.ntp.org ``` diff --git a/argv.coffee b/argv.coffee index 746210d..188f85c 100644 --- a/argv.coffee +++ b/argv.coffee @@ -83,18 +83,21 @@ print_usage = (options) -> print_examples = (exam = []) -> console.log """ Examples - Get time from multiple URLs + Synchronize time from multiple URLs + #{info.name} -s www.pool.ntp.org www.openssl.org nodejs.org + + Query time from multiple URLs #{info.name} www.pool.ntp.org www.openssl.org nodejs.org Change default protocol to 'http' - #{info.name} --protocol http www.pool.ntp.org + #{info.name} -s -p http www.pool.ntp.org Mix http url and https url - #{info.name} http://www.pool.ntp.org https://www.openssl.org + #{info.name} -s http://www.pool.ntp.org https://www.openssl.org Access through a http proxy #{if platform is 'win32' then 'set' else 'export'} http_proxy=http://127.0.0.1:8118 - #{info.name} www.pool.ntp.org + #{info.name} -s www.pool.ntp.org """