From 4ac4597afb989c28e24f64afafba87e8823f4b58 Mon Sep 17 00:00:00 2001 From: Keigo Imai Date: Mon, 16 Oct 2023 13:53:49 +0900 Subject: [PATCH] drive: add a note that --drive-scope accepts comma-separated list of scopes --- backend/drive/drive.go | 2 +- docs/content/drive.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/drive/drive.go b/backend/drive/drive.go index 9e1166bd8..1674f0d42 100644 --- a/backend/drive/drive.go +++ b/backend/drive/drive.go @@ -252,7 +252,7 @@ func init() { }, Options: append(driveOAuthOptions(), []fs.Option{{ 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{{ Value: "drive", Help: "Full access all files, excluding Application Data Folder.", diff --git a/docs/content/drive.md b/docs/content/drive.md index 808968143..a4c6a2a4d 100644 --- a/docs/content/drive.md +++ b/docs/content/drive.md @@ -124,6 +124,8 @@ use. This changes what type of token is granted to rclone. [The scopes are defined 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 #### drive @@ -582,7 +584,7 @@ Properties: #### --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: