http: add an example with username and password
This commit is contained in:
parent
2135879dda
commit
315cee23a0
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ func init() {
|
||||||
Examples: []fs.OptionExample{{
|
Examples: []fs.OptionExample{{
|
||||||
Value: "https://example.com",
|
Value: "https://example.com",
|
||||||
Help: "Connect to example.com",
|
Help: "Connect to example.com",
|
||||||
|
}, {
|
||||||
|
Value: "https://user:pass@example.com",
|
||||||
|
Help: "Connect to example.com using a username and password",
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue