Skip to content

Commit 36db7ef

Browse files
authored
Merge pull request #1 from gbonnefille/fix-typo
Fix typo
2 parents 949ec23 + 2971c51 commit 36db7ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
TUS **C**ommand line (tusc) is a small static binary for both server and client of [tus resumable upload protocol](https://tus.io).
66

77
Personally, I need tusc for uploading files in a CI process and a simple UI for downloading (like nginx autoindex).
8-
The chucked and resumable feature make it possible to bypass some payload size limitation imposed by proxy (e.g. cloudflare).
8+
The chunked and resumable feature make it possible to bypass some payload size limitation imposed by proxy (e.g. cloudflare).
99
Also, small size of binary make it convenient to be included in docker image.
1010

1111
## Quick Start
@@ -81,7 +81,7 @@ Usage:
8181
Options:
8282
-r --resumable Save meta data in store for resumable uploads
8383
--store PATH Path to save meta data for resume [default: ./.tusc]
84-
--chuck-size BYTE Size of chucks of file [default: 2097152]
84+
--chunk-size BYTE Size of chunks of file [default: 2097152]
8585
--override-patch-method Sending a POST request instead of PATCH [default: false]
8686
```
8787

internal/client/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Usage:
1919
Options:
2020
-r --resumable Save meta data for resumable uploads
2121
--store PATH Path to save meta data for resume [default: ./.tusc]
22-
--chuck-size BYTE Size of chucks of file [default: 2097152]
22+
--chunk-size BYTE Size of chunks of file [default: 2097152]
2323
--override-patch-method Sending a POST request instead of PATCH [default: false]
2424
`
2525

@@ -56,7 +56,7 @@ func Client() {
5656
}
5757

5858
client, _ := tus.NewClient(conf.url, &tus.Config{
59-
ChunkSize: util.GetInt64(arguments, "--chuck-size"),
59+
ChunkSize: util.GetInt64(arguments, "--chunk-size"),
6060
OverridePatchMethod: util.GetBool(arguments, "--override-patch-method"),
6161
Resume: conf.resume,
6262
Store: store,

0 commit comments

Comments
 (0)