Skip to content

Commit

Permalink
style: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Dec 11, 2024
1 parent 357de6e commit 8385070
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions cmd/gguf-parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ GLOBAL OPTIONS:
Load
--cache-expiration value Specify the expiration of cache, works with "--url/--hf-*/--ms-*/--ol-*". (default: 24h0m0s)
--cache-path value Cache the read result to the path, works with "--url/--hf-*/--ms-*/--ol-*". (default: "/Users/thxcode/.cache/gguf-parser")
--skip-cache Skip cache, works with "--url/--hf-*/--ms-*/--ol-*", default is caching the read result. (default: false)
--skip-dns-cache Skip DNS cache, works with "--url/--hf-*/--ms-*/--ol-*", default is caching the DNS lookup result. (default: false)
--skip-proxy Skip proxy settings, works with "--url/--hf-*/--ms-*/--ol-*", default is respecting the environment variables "HTTP_PROXY/HTTPS_PROXY/NO_PROXY". (default: false)
--skip-rang-download-detect Skip range download detect, works with "--url/--hf-*/--ms-*/--ol-*", default is detecting the range download support. (default: false)
--skip-tls-verify Skip TLS verification, works with "--url/--hf-*/--ms-*/--ol-*", default is verifying the TLS certificate on HTTPs request. (default: false)
--cache-expiration value Specify the expiration of cache, works with "--url/--hf-*/--ms-*/--ol-*". (default: 24h0m0s)
--cache-path value Cache the read result to the path, works with "--url/--hf-*/--ms-*/--ol-*". (default: "/Users/thxcode/.cache/gguf-parser")
--skip-cache Skip cache, works with "--url/--hf-*/--ms-*/--ol-*", default is caching the read result. (default: false)
--skip-dns-cache Skip DNS cache, works with "--url/--hf-*/--ms-*/--ol-*", default is caching the DNS lookup result. (default: false)
--skip-proxy Skip proxy settings, works with "--url/--hf-*/--ms-*/--ol-*", default is respecting the environment variables "HTTP_PROXY/HTTPS_PROXY/NO_PROXY". (default: false)
--skip-range-download-detect, --skip-rang-download-detect Skip range download detect, works with "--url/--hf-*/--ms-*/--ol-*", default is detecting the range download support. (default: false)
--skip-tls-verify Skip TLS verification, works with "--url/--hf-*/--ms-*/--ol-*", default is verifying the TLS certificate on HTTPs request. (default: false)
Model/Local
Expand Down
5 changes: 4 additions & 1 deletion cmd/gguf-parser/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,10 @@ func main() {
Destination: &skipRangDownloadDetect,
Value: skipRangDownloadDetect,
Category: "Load",
Name: "skip-rang-download-detect",
Name: "skip-range-download-detect",
Aliases: []string{
"skip-rang-download-detect", // TODO: Fix typo in the next major version
},
Usage: "Skip range download detect, " +
"works with \"--url/--hf-*/--ms-*/--ol-*\", " +
"default is detecting the range download support.",
Expand Down

0 comments on commit 8385070

Please sign in to comment.