From 315cee23a086b634342dcfc99795c3d097d8ef8e Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 4 Feb 2019 10:30:05 +0000 Subject: [PATCH] http: add an example with username and password --- backend/http/http.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/http/http.go b/backend/http/http.go index 743219b40..e927bea33 100644 --- a/backend/http/http.go +++ b/backend/http/http.go @@ -40,6 +40,9 @@ func init() { 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", }}, }}, }