docs: don't show fictional example values for options as multiple choice items

See #5538
This commit is contained in:
albertony
2021-08-22 15:11:41 +02:00
parent 8efead1ee6
commit f589dbc077
5 changed files with 7 additions and 33 deletions

View File

@@ -38,15 +38,8 @@ func init() {
NewFs: NewFs,
Options: []fs.Option{{
Name: "url",
Help: "URL of http host to connect to.",
Help: "URL of http host to connect to.\n\nE.g. \"https://example.com\", or \"https://user:pass@example.com\" to use a username and password.",
Required: true,
Examples: []fs.OptionExample{{
Value: "https://example.com",
Help: "Connect to example.com.",
}, {
Value: "https://user:pass@example.com",
Help: "Connect to example.com using a username and password.",
}},
}, {
Name: "headers",
Help: `Set HTTP headers for all transactions.