docs: Use consistent style for flags
Closes https://github.com/tus/tusd/issues/238
This commit is contained in:
parent
34e32999fb
commit
9433afd70c
|
@ -52,7 +52,7 @@ snippet demonstrates how to start a tusd process which accepts tus uploads at
|
||||||
`http://localhost:1080/files/` (notice the trailing slash) and stores them locally in the `./data` directory:
|
`http://localhost:1080/files/` (notice the trailing slash) and stores them locally in the `./data` directory:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ tusd -dir ./data
|
$ tusd -dir=./data
|
||||||
[tusd] Using './data' as directory storage.
|
[tusd] Using './data' as directory storage.
|
||||||
[tusd] Using 0.00MB as maximum size.
|
[tusd] Using 0.00MB as maximum size.
|
||||||
[tusd] Using 0.0.0.0:1080 as address to listen.
|
[tusd] Using 0.0.0.0:1080 as address to listen.
|
||||||
|
@ -69,7 +69,7 @@ option):
|
||||||
$ export AWS_ACCESS_KEY_ID=xxxxx
|
$ export AWS_ACCESS_KEY_ID=xxxxx
|
||||||
$ export AWS_SECRET_ACCESS_KEY=xxxxx
|
$ export AWS_SECRET_ACCESS_KEY=xxxxx
|
||||||
$ export AWS_REGION=eu-west-1
|
$ export AWS_REGION=eu-west-1
|
||||||
$ tusd -s3-bucket my-test-bucket.com
|
$ tusd -s3-bucket=my-test-bucket.com
|
||||||
[tusd] Using 's3://my-test-bucket.com' as S3 bucket for storage.
|
[tusd] Using 's3://my-test-bucket.com' as S3 bucket for storage.
|
||||||
[tusd] Using 0.00MB as maximum size.
|
[tusd] Using 0.00MB as maximum size.
|
||||||
[tusd] Using 0.0.0.0:1080 as address to listen.
|
[tusd] Using 0.0.0.0:1080 as address to listen.
|
||||||
|
@ -84,7 +84,7 @@ enable this feature, supply the path to your account file containing the necessa
|
||||||
|
|
||||||
```
|
```
|
||||||
$ export GCS_SERVICE_ACCOUNT_FILE=./account.json
|
$ export GCS_SERVICE_ACCOUNT_FILE=./account.json
|
||||||
$ tusd -gcs-bucket my-test-bucket.com
|
$ tusd -gcs-bucket=my-test-bucket.com
|
||||||
[tusd] Using 'gcs://my-test-bucket.com' as GCS bucket for storage.
|
[tusd] Using 'gcs://my-test-bucket.com' as GCS bucket for storage.
|
||||||
[tusd] Using 0.00MB as maximum size.
|
[tusd] Using 0.00MB as maximum size.
|
||||||
[tusd] Using 0.0.0.0:1080 as address to listen.
|
[tusd] Using 0.0.0.0:1080 as address to listen.
|
||||||
|
|
Loading…
Reference in New Issue