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:
parent
980ecfc801
commit
3482998f13
1 changed files with 6 additions and 6 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue