"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
rc: set url to the first value of rc-addr since it has been converted to an array of strings now -- fixes #6641
Anagh Kumar Baranwal00e853144e0e
diff --git a/cmd/rc/rc.go b/cmd/rc/rc.goindex b31e340eb..1276fc024 100644--- a/cmd/rc/rc.go+++ b/cmd/rc/rc.go@@ -156,6 +156,15 @@ func ParseOptions(options []string) (opt map[string]string) {func setAlternateFlag(flagName string, output *string) {if rcFlag := pflag.Lookup(flagName); rcFlag != nil && rcFlag.Changed {*output = rcFlag.Value.String()+ if sliceValue, ok := rcFlag.Value.(pflag.SliceValue); ok {+ stringSlice := sliceValue.GetSlice()+ for _, value := range stringSlice {+ if value != "" {+ *output = value+ break+ }+ }+ }}}