feat: add TUS settings to the command line (#5556)

This commit is contained in:
Henrique Dias
2025-11-16 14:13:58 +01:00
committed by GitHub
parent 5de4099cba
commit e24e1f1aba
3 changed files with 26 additions and 2 deletions

View File

@@ -80,6 +80,10 @@ you want to change. Other options will remain unchanged.`,
set.FileMode, err = getMode(flags, flag.Name)
case "dir-mode":
set.DirMode, err = getMode(flags, flag.Name)
case "tus.chunkSize":
set.Tus.ChunkSize, err = flags.GetUint64(flag.Name)
case "tus.retryCount":
set.Tus.RetryCount, err = flags.GetUint16(flag.Name)
}
})