From 8507c5177796fb6ac91457a4443941cb89f94add Mon Sep 17 00:00:00 2001 From: bobwen-dev <77950078+bobwen-dev@users.noreply.github.com> Date: Mon, 25 Jan 2021 14:39:30 +0800 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c82d81d..7fed24a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,13 @@ A tool to synchronize system time with web servers. ## Examples -Get time from multiple URLs +Synchronize time from multiple URLs + +```bash +htpdate -s www.pool.ntp.org www.openssl.org nodejs.org +``` + +Query time from multiple URLs ```bash htpdate www.pool.ntp.org www.openssl.org nodejs.org @@ -13,7 +19,7 @@ htpdate www.pool.ntp.org www.openssl.org nodejs.org Change default protocol to 'http' ```bash -htpdate --protocol http www.pool.ntp.org +htpdate -s -p http www.pool.ntp.org ``` Mix http url and https url