http: add an example with username and password

This commit is contained in:
Nick Craig-Wood 2019-02-04 10:30:05 +00:00
parent 2135879dda
commit 315cee23a0

View File

@ -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",
}},
}},
}