From dbf1234edfbfbd63673562dfcaa0b566eed2fd18 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Sun, 19 Jun 2022 19:29:02 +0200 Subject: [PATCH] docs: skip "Connection" suffix from FTP, SSH/SFTP and HTTP backend names --- backend/ftp/ftp.go | 2 +- backend/http/http.go | 2 +- backend/sftp/sftp.go | 2 +- docs/content/ftp.md | 2 +- docs/content/http.md | 2 +- docs/content/s3.md | 4 ++-- docs/content/sftp.md | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/ftp/ftp.go b/backend/ftp/ftp.go index 92b84fe9c..c078f78b0 100644 --- a/backend/ftp/ftp.go +++ b/backend/ftp/ftp.go @@ -45,7 +45,7 @@ const ( func init() { fs.Register(&fs.RegInfo{ Name: "ftp", - Description: "FTP Connection", + Description: "FTP", NewFs: NewFs, Options: []fs.Option{{ Name: "host", diff --git a/backend/http/http.go b/backend/http/http.go index bd53da943..3e6e83155 100644 --- a/backend/http/http.go +++ b/backend/http/http.go @@ -35,7 +35,7 @@ var ( func init() { fsi := &fs.RegInfo{ Name: "http", - Description: "HTTP Connection", + Description: "HTTP", NewFs: NewFs, Options: []fs.Option{{ Name: "url", diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.go index 5e9cbe18d..74af5fa41 100644 --- a/backend/sftp/sftp.go +++ b/backend/sftp/sftp.go @@ -57,7 +57,7 @@ var ( func init() { fsi := &fs.RegInfo{ Name: "sftp", - Description: "SSH/SFTP Connection", + Description: "SSH/SFTP", NewFs: NewFs, Options: []fs.Option{{ Name: "host", diff --git a/docs/content/ftp.md b/docs/content/ftp.md index 203e944bc..f2d4a4229 100644 --- a/docs/content/ftp.md +++ b/docs/content/ftp.md @@ -39,7 +39,7 @@ Type of storage to configure. Enter a string value. Press Enter for the default (""). Choose a number from below, or type in your own value [snip] -XX / FTP Connection +XX / FTP \ "ftp" [snip] Storage> ftp diff --git a/docs/content/http.md b/docs/content/http.md index 9affbf358..10ef35098 100644 --- a/docs/content/http.md +++ b/docs/content/http.md @@ -52,7 +52,7 @@ name> remote Type of storage to configure. Choose a number from below, or type in your own value [snip] -XX / HTTP Connection +XX / HTTP \ "http" [snip] Storage> http diff --git a/docs/content/s3.md b/docs/content/s3.md index 15b26e7e2..fbd47c763 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -2901,7 +2901,7 @@ r) Rename remote c) Copy remote s) Set configuration password q) Quit config -e/n/d/r/c/s/q> q +e/n/d/r/c/s/q> q ``` ### IBM COS (S3) @@ -2937,7 +2937,7 @@ Choose a number from below, or type in your own value 4 / Backblaze B2 \ "b2" [snip] - 23 / http Connection + 23 / HTTP \ "http" Storage> 3 ``` diff --git a/docs/content/sftp.md b/docs/content/sftp.md index a0fc7271c..fa0f5ba05 100644 --- a/docs/content/sftp.md +++ b/docs/content/sftp.md @@ -49,7 +49,7 @@ name> remote Type of storage to configure. Choose a number from below, or type in your own value [snip] -XX / SSH/SFTP Connection +XX / SSH/SFTP \ "sftp" [snip] Storage> sftp