1
mirror of https://github.com/rclone/rclone synced 2024-11-08 05:31:41 +01: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:
Nick Craig-Wood 2020-08-21 16:14:02 +01:00
parent 1abc252ed3
commit fee8f21ce1

View File

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