mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-29 23:50:18 +01:00
Change CLI Flags to match
This commit is contained in:
parent
fcbddcee17
commit
82617a25c1
1 changed files with 3 additions and 15 deletions
18
cmd/cmd.go
18
cmd/cmd.go
|
@ -150,16 +150,10 @@ var globalFlags = []cli.Flag{
|
||||||
Value: googleapi.DefaultUploadChunkSize / 1024 / 1024,
|
Value: googleapi.DefaultUploadChunkSize / 1024 / 1024,
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "storj-endpoint",
|
Name: "storj-scope",
|
||||||
Usage: "Satellite Address including Port.",
|
Usage: "Scope to access the project",
|
||||||
Value: "",
|
Value: "",
|
||||||
EnvVar: "STORJ_ENDPOINT",
|
EnvVar: "STORJ_SCOPE",
|
||||||
},
|
|
||||||
cli.StringFlag{
|
|
||||||
Name: "storj-apikey",
|
|
||||||
Usage: "",
|
|
||||||
Value: "",
|
|
||||||
EnvVar: "STORJ_API_KEY",
|
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "storj-bucket",
|
Name: "storj-bucket",
|
||||||
|
@ -167,12 +161,6 @@ var globalFlags = []cli.Flag{
|
||||||
Value: "",
|
Value: "",
|
||||||
EnvVar: "STORJ_BUCKET",
|
EnvVar: "STORJ_BUCKET",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
|
||||||
Name: "storj-enckey",
|
|
||||||
Usage: "Encryption Key for local file encryption",
|
|
||||||
Value: "",
|
|
||||||
EnvVar: "STORJ_ENC_KEY",
|
|
||||||
},
|
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "storj-skip-peer-ca",
|
Name: "storj-skip-peer-ca",
|
||||||
Usage: "Skip's CA Peer Check for local environments",
|
Usage: "Skip's CA Peer Check for local environments",
|
||||||
|
|
Loading…
Reference in a new issue