Skip to content

Commit

Permalink
Change flag to no-verify-ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
onlined authored and ilkinulas committed Feb 22, 2019
1 parent 9a6245f commit 9622049
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Options:
Initialize gops agent
-install
Install completion for s5cmd command
-no-verify
-no-verify-ssl
Don't verify SSL certificates
-numworkers int
Number of worker goroutines. Negative numbers mean multiples of the CPU core count. (default 256)
Expand Down
6 changes: 3 additions & 3 deletions s5cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {
dlPartSize int
dlConcurrency int
retries int
noVerify bool
noVerifySSL bool
)

flag.StringVar(&cmdFile, "f", "", "Commands-file or - for stdin")
Expand All @@ -71,7 +71,7 @@ func main() {
showVersion := flag.Bool("version", false, "Prints current version")
gops := flag.Bool("gops", false, "Initialize gops agent")
verbose := flag.Bool("vv", false, "Verbose output")
flag.BoolVar(&noVerify, "no-verify", false, "Don't verify SSL certificates")
flag.BoolVar(&noVerifySSL, "no-verify-ssl", false, "Don't verify SSL certificates")

flag.Usage = func() {
fmt.Fprintf(os.Stderr, "%v\n\n", core.UsageLine())
Expand Down Expand Up @@ -183,7 +183,7 @@ func main() {
DownloadConcurrency: dlConcurrency,
Retries: retries,
EndpointURL: endpointURL,
NoVerifySSL: noVerify,
NoVerifySSL: noVerifySSL,
}, &s)
if cmdMode {
wp.RunCmd(cmd)
Expand Down

0 comments on commit 9622049

Please sign in to comment.