drive: add a note that --drive-scope accepts comma-separated list of scopes

This commit is contained in:
Keigo Imai 2023-10-16 13:53:49 +09:00 committed by Nick Craig-Wood
parent 143df6f6d2
commit 4ac4597afb
2 changed files with 4 additions and 2 deletions

View File

@ -252,7 +252,7 @@ func init() {
}, },
Options: append(driveOAuthOptions(), []fs.Option{{ Options: append(driveOAuthOptions(), []fs.Option{{
Name: "scope", Name: "scope",
Help: "Scope that rclone should use when requesting access from drive.", Help: "Comma separated list of scopes that rclone should use when requesting access from drive.",
Examples: []fs.OptionExample{{ Examples: []fs.OptionExample{{
Value: "drive", Value: "drive",
Help: "Full access all files, excluding Application Data Folder.", Help: "Full access all files, excluding Application Data Folder.",

View File

@ -124,6 +124,8 @@ use. This changes what type of token is granted to rclone. [The
scopes are defined scopes are defined
here](https://developers.google.com/drive/v3/web/about-auth). here](https://developers.google.com/drive/v3/web/about-auth).
A comma-separated list is allowed e.g. `drive.readonly,drive.file`.
The scope are The scope are
#### drive #### drive
@ -582,7 +584,7 @@ Properties:
#### --drive-scope #### --drive-scope
Scope that rclone should use when requesting access from drive. Comma separated list of scopes that rclone should use when requesting access from drive.
Properties: Properties: