mirror of
https://github.com/coder/coder.git
synced 2025-07-30 22:19:53 +00: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:
16
docs/reference/cli/ping.md
generated
16
docs/reference/cli/ping.md
generated
@@ -36,3 +36,19 @@ Specifies how long to wait for a ping to complete.
|
||||
| Type | <code>int</code> |
|
||||
|
||||
Specifies the number of pings to perform. By default, pings will continue until interrupted.
|
||||
|
||||
### --time
|
||||
|
||||
| | |
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Show the response time of each pong in local time.
|
||||
|
||||
### --utc
|
||||
|
||||
| | |
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Show the response time of each pong in UTC (implies --time).
|
||||
|
Reference in New Issue
Block a user