Change CLI Flags to match

This commit is contained in:
Stefan Benten 2019-11-22 15:24:59 +01:00
parent fcbddcee17
commit 82617a25c1

View file

@ -150,16 +150,10 @@ var globalFlags = []cli.Flag{
Value: googleapi.DefaultUploadChunkSize / 1024 / 1024,
},
cli.StringFlag{
Name: "storj-endpoint",
Usage: "Satellite Address including Port.",
Name: "storj-scope",
Usage: "Scope to access the project",
Value: "",
EnvVar: "STORJ_ENDPOINT",
},
cli.StringFlag{
Name: "storj-apikey",
Usage: "",
Value: "",
EnvVar: "STORJ_API_KEY",
EnvVar: "STORJ_SCOPE",
},
cli.StringFlag{
Name: "storj-bucket",
@ -167,12 +161,6 @@ var globalFlags = []cli.Flag{
Value: "",
EnvVar: "STORJ_BUCKET",
},
cli.StringFlag{
Name: "storj-enckey",
Usage: "Encryption Key for local file encryption",
Value: "",
EnvVar: "STORJ_ENC_KEY",
},
cli.BoolFlag{
Name: "storj-skip-peer-ca",
Usage: "Skip's CA Peer Check for local environments",