docs: Update command help in README (#352)

This commit is contained in:
Rafael Cossovan 2020-02-24 16:58:15 -03:00 committed by GitHub
parent 43bd4b0ccb
commit c7f6428884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -68,6 +68,12 @@ Usage of tusd:
Directory to search for available hooks scripts Directory to search for available hooks scripts
-hooks-enabled-events string -hooks-enabled-events string
Comma separated list of enabled hook events (e.g. post-create,post-finish). Leave empty to enable all events Comma separated list of enabled hook events (e.g. post-create,post-finish). Leave empty to enable all events
-hooks-grpc string
An gRPC endpoint to which hook events will be sent to
-hooks-grpc-backoff int
Number of seconds to wait before retrying each retry (default 1)
-hooks-grpc-retry int
Number of times to retry on a server error or network timeout (default 3)
-hooks-http string -hooks-http string
An HTTP endpoint to which hook events will be sent to An HTTP endpoint to which hook events will be sent to
-hooks-http-backoff int -hooks-http-backoff int
@ -93,7 +99,7 @@ Usage of tusd:
-s3-object-prefix string -s3-object-prefix string
Prefix for S3 object names Prefix for S3 object names
-timeout int -timeout int
Read timeout for connections in milliseconds. A zero value means that reads will not timeout (default 30000) Read timeout for connections in milliseconds. A zero value means that reads will not timeout (default 6000)
-unix-sock string -unix-sock string
If set, will listen to a UNIX socket at this location instead of a TCP socket If set, will listen to a UNIX socket at this location instead of a TCP socket
-upload-dir string -upload-dir string