forked from TrueCloudLab/rclone
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
1 changed files with 11 additions and 1 deletions
|
@ -122,9 +122,19 @@ func init() {
|
||||||
Name: "hostname",
|
Name: "hostname",
|
||||||
Help: `Hostname to connect to.
|
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,
|
Default: defaultHostname,
|
||||||
Advanced: true,
|
Advanced: true,
|
||||||
|
Examples: []fs.OptionExample{{
|
||||||
|
Value: defaultHostname,
|
||||||
|
Help: "Original/US region",
|
||||||
|
}, {
|
||||||
|
Value: "eapi.pcloud.com",
|
||||||
|
Help: "EU region",
|
||||||
|
}},
|
||||||
}}...),
|
}}...),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue