1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-31 22:15:33 +02:00

speedtest: remove = and add short options (#17334)

This commit is contained in:
Managor 2025-07-23 19:25:12 +03:00 committed by GitHub
parent 980ecfc801
commit 3482998f13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,24 +11,24 @@
- Run a speed test and specify the unit of the output:
`speedtest --unit={{auto-decimal-bits|auto-decimal-bytes|auto-binary-bits|auto-binary-bytes}}`
`speedtest {{[-u|--unit]}} {{auto-decimal-bits|auto-decimal-bytes|auto-binary-bits|auto-binary-bytes}}`
- Run a speed test and specify the output format:
`speedtest --format={{human-readable|csv|tsv|json|jsonl|json-pretty}}`
`speedtest {{[-f|--format]}} {{human-readable|csv|tsv|json|jsonl|json-pretty}}`
- Run a speed test and specify the number of decimal points to use (0 to 8, defaults to 2):
`speedtest --precision={{precision}}`
`speedtest {{[-P|--precision]}} {{precision}}`
- Run a speed test and print its progress (only available for output format `human-readable` and `json`):
`speedtest --progress={{yes|no}}`
`speedtest {{[-p|--progress]}} {{yes|no}}`
- List all `speedtest.net` servers, sorted by distance:
`speedtest --servers`
`speedtest {{[-L|--servers]}}`
- Run a speed test to a specific `speedtest.net` server:
`speedtest --server-id={{server_id}}`
`speedtest {{[-s|--server-id]}} {{server_id}}`