diff --git a/README.md b/README.md index 2bc8a18..ae88ded 100644 --- a/README.md +++ b/README.md @@ -100,9 +100,8 @@ s3-endpoint | Custom S3 endpoint. | | s3-region | region of the s3 bucket | eu-west-1 | S3_REGION s3-no-multipart | disables s3 multipart upload | false | | s3-path-style | Forces path style URLs, required for Minio. | false | | -storj-access | Scope to use to access the project | | STORJ_ACCESS +storj-access | Access for the project | | STORJ_ACCESS storj-bucket | Bucket to use within the project | | STORJ_BUCKET -storj-skip-peer-ca | Skip's CA Peer Check for local environments | false | STORJ_SKIP_PEER_CA basedir | path storage for local/gdrive provider| | gdrive-client-json-filepath | path to oauth client json config for gdrive provider| | gdrive-local-config-path | path to store local transfer.sh config cache for gdrive provider| | diff --git a/cmd/cmd.go b/cmd/cmd.go index b38e5c4..be00fb3 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -150,10 +150,10 @@ var globalFlags = []cli.Flag{ Value: googleapi.DefaultUploadChunkSize / 1024 / 1024, }, cli.StringFlag{ - Name: "storj-scope", - Usage: "Scope to access the project", + Name: "storj-access", + Usage: "Access for the project", Value: "", - EnvVar: "STORJ_SCOPE", + EnvVar: "STORJ_ACCESS", }, cli.StringFlag{ Name: "storj-bucket", @@ -161,11 +161,6 @@ var globalFlags = []cli.Flag{ Value: "", EnvVar: "STORJ_BUCKET", }, - cli.BoolFlag{ - Name: "storj-skip-peer-ca", - Usage: "Skip's CA Peer Check for local environments", - EnvVar: "STORJ_SKIP_PEER_CA", - }, cli.IntFlag{ Name: "rate-limit", Usage: "requests per minute",