docs: automatically remove ending punctuation from first line of backend option help string when used for flag usage
See #5538
This commit is contained in:
parent
8b65c55711
commit
9a17b32b5d
4 changed files with 10 additions and 4 deletions
|
@ -42,17 +42,20 @@ func init() {
|
|||
Options: []fs.Option{{
|
||||
Name: "api_url",
|
||||
Help: `Sia daemon API URL, like http://sia.daemon.host:9980.
|
||||
|
||||
Note that siad must run with --disable-api-security to open API port for other hosts (not recommended).
|
||||
Keep default if Sia daemon runs on localhost.`,
|
||||
Default: "http://127.0.0.1:9980",
|
||||
}, {
|
||||
Name: "api_password",
|
||||
Help: `Sia Daemon API Password.
|
||||
|
||||
Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.`,
|
||||
IsPassword: true,
|
||||
}, {
|
||||
Name: "user_agent",
|
||||
Help: `Siad User Agent
|
||||
|
||||
Sia daemon requires the 'Sia-Agent' user agent by default for security`,
|
||||
Default: "Sia-Agent",
|
||||
Advanced: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue