mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
3 Commits
52c58df42f
...
cbdf2ba2e6
Author | SHA1 | Date |
---|---|---|
Brian Liotti | cbdf2ba2e6 | |
dependabot[bot] | 6e9cda3d30 | |
Brian Liotti | 205e3f6042 |
|
@ -3,5 +3,5 @@ charset-normalizer==3.4.1
|
||||||
idna==3.10
|
idna==3.10
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
semver==3.0.2
|
semver==3.0.3
|
||||||
urllib3==2.3.0
|
urllib3==2.3.0
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
_speedtest_cli_completions() {
|
||||||
|
local state
|
||||||
|
typeset -A opt_args
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
'--no-download[Do not perform download test]' \
|
||||||
|
'--no-upload[Do not perform upload test]' \
|
||||||
|
'--single[Only use a single connection instead of multiple]' \
|
||||||
|
'--bytes[Display values in bytes instead of bits]' \
|
||||||
|
'--share[Generate a URL to the speedtest.net share results image]' \
|
||||||
|
'--simple[Suppress verbose output, only show basic information]' \
|
||||||
|
'--csv[Suppress verbose output, only show basic information in CSV format]' \
|
||||||
|
'--csv-delimiter[Single character delimiter for CSV output]:delimiter:,' \
|
||||||
|
'--csv-header[Print CSV headers]' \
|
||||||
|
'--json[Suppress verbose output, show basic information in JSON format]' \
|
||||||
|
'--list[Display a list of speedtest.net servers sorted by distance]' \
|
||||||
|
'--server[Specify a server ID to test against]:server ID:' \
|
||||||
|
'--exclude[Exclude a server from selection]:server ID:' \
|
||||||
|
'--mini[URL of the Speedtest Mini server]:URL:' \
|
||||||
|
'--source[Source IP address to bind to]:IP address:' \
|
||||||
|
'--timeout[HTTP timeout in seconds]:timeout in seconds:' \
|
||||||
|
'--secure[Use HTTPS instead of HTTP for speedtest.net servers]' \
|
||||||
|
'--no-pre-allocate[Do not pre-allocate upload data]' \
|
||||||
|
'--version[Show the version number and exit]'
|
||||||
|
}
|
||||||
|
|
||||||
|
compdef _speedtest_cli_completions speedtest-cli
|
Loading…
Reference in New Issue