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:
Generated
+16
@@ -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