mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): add local and UTC time options to ping cmd (#16648)
It's sometimes useful to see when each pong was received, for correlating these times with other events. --------- Signed-off-by: Danny Kopping <danny@coder.com>
This commit is contained in:
+6
@@ -10,9 +10,15 @@ OPTIONS:
|
||||
Specifies the number of pings to perform. By default, pings will
|
||||
continue until interrupted.
|
||||
|
||||
--time bool
|
||||
Show the response time of each pong in local time.
|
||||
|
||||
-t, --timeout duration (default: 5s)
|
||||
Specifies how long to wait for a ping to complete.
|
||||
|
||||
--utc bool
|
||||
Show the response time of each pong in UTC (implies --time).
|
||||
|
||||
--wait duration (default: 1s)
|
||||
Specifies how long to wait between pings.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user