mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
pcloud: Add example hostnames to configurator and more docs - Fixes #4493
When using `rclone authorize` the hostname doesn't get set in the config file. This commit allows it to be set in the configurator and gives the user a hint that it needs setting.
This commit is contained in:
parent
1abc252ed3
commit
fee8f21ce1
|
@ -122,9 +122,19 @@ func init() {
|
|||
Name: "hostname",
|
||||
Help: `Hostname to connect to.
|
||||
|
||||
This is normally set when rclone initially does the oauth connection.`,
|
||||
This is normally set when rclone initially does the oauth connection,
|
||||
however you will need to set it by hand if you are using remote config
|
||||
with rclone authorize.
|
||||
`,
|
||||
Default: defaultHostname,
|
||||
Advanced: true,
|
||||
Examples: []fs.OptionExample{{
|
||||
Value: defaultHostname,
|
||||
Help: "Original/US region",
|
||||
}, {
|
||||
Value: "eapi.pcloud.com",
|
||||
Help: "EU region",
|
||||
}},
|
||||
}}...),
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user