"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
config: ajust section headers to improve readability
albertonyacd7ad9190cc
diff --git a/fs/config/ui.go b/fs/config/ui.goindex 73b2925b2..60b5b3bc6 100644--- a/fs/config/ui.go+++ b/fs/config/ui.go@@ -285,6 +285,7 @@ func ShowRemotes() {func ChooseRemote() string {remotes := LoadedData().GetSectionList()sort.Strings(remotes)+ fmt.Println("Select remote.")return Choose("remote", "value", remotes, nil, "", true, false)}@@ -331,8 +332,10 @@ func ShowRemote(name string) {// OkRemote prints the contents of the remote and ask if it is OKfunc OkRemote(name string) bool {- fmt.Printf("Configuration of %q remote:\n", name)+ fmt.Println("Configuration complete.")+ fmt.Println("Options:")listRemoteOptions(name)+ fmt.Printf("Keep this %q remote?\n", name)switch i := CommandDefault([]string{"yYes this is OK", "eEdit this remote", "dDelete this remote"}, 0); i {case 'y':return true@@ -492,6 +495,7 @@ func ChooseOption(o *fs.Option, name string) string {// NewRemoteName asks the user for a name for a new remotefunc NewRemoteName() (name string) {for {+ fmt.Println("Enter name for new remote.")fmt.Printf("name> ")name = ReadLine()if LoadedData().HasSection(name) {@@ -548,7 +552,7 @@ func NewRemote(ctx context.Context, name string) error {// EditRemote gets the user to edit a remotefunc EditRemote(ctx context.Context, ri *fs.RegInfo, name string) error {- fmt.Printf("Edit existing %q remote with options:\n", name)+ fmt.Printf("Editing existing %q remote with options:\n", name)listRemoteOptions(name)newSection()for {