From 5932acfee378018113fc11a0847eedeb61907ce9 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 3 Sep 2019 08:29:44 +0100 Subject: [PATCH] rc: fix docs for config/create /update /password --- docs/content/rc.md | 4 ++++ fs/config/rc.go | 2 ++ 2 files changed, 6 insertions(+) diff --git a/docs/content/rc.md b/docs/content/rc.md index b56508097..a0094cb65 100644 --- a/docs/content/rc.md +++ b/docs/content/rc.md @@ -308,6 +308,7 @@ Show statistics for the cache remote. This takes the following parameters - name - name of remote +- parameters - a map of \{ "key": "value" \} pairs - type - type of the new remote @@ -318,6 +319,7 @@ Authentication is required for this call. ### config/delete: Delete a remote in the config file. {#config/delete} Parameters: + - name - name of remote to delete See the [config delete command](/commands/rclone_config_delete/) command for more information on the above. @@ -358,6 +360,7 @@ Authentication is required for this call. This takes the following parameters - name - name of remote +- parameters - a map of \{ "key": "value" \} pairs See the [config password command](/commands/rclone_config_password/) command for more information on the above. @@ -378,6 +381,7 @@ Authentication is required for this call. This takes the following parameters - name - name of remote +- parameters - a map of \{ "key": "value" \} pairs See the [config update command](/commands/rclone_config_update/) command for more information on the above. diff --git a/fs/config/rc.go b/fs/config/rc.go index 2d2f4903e..b0ce34faf 100644 --- a/fs/config/rc.go +++ b/fs/config/rc.go @@ -120,6 +120,7 @@ func init() { Help: `This takes the following parameters - name - name of remote +- parameters - a map of \{ "key": "value" \} pairs ` + extraHelp + ` See the [config ` + name + ` command](/commands/rclone_config_` + name + `/) command for more information on the above.`, @@ -161,6 +162,7 @@ func init() { AuthRequired: true, Help: ` Parameters: + - name - name of remote to delete See the [config delete command](/commands/rclone_config_delete/) command for more information on the above.