mirror of
https://github.com/rclone/rclone.git
synced 2025-08-16 16:41:34 +02:00
rc: In options/info make FieldName contain a "." if it should be nested
Before this would have Output "FieldName": "ListenAddr" where it actually needs to be set in a sub object "HTTP". After this fix it outputs "FieldName": "HTTP.ListenAddr" to indicate "ListenAddr" needs to be set in the object "HTTP".
This commit is contained in:
@ -432,7 +432,7 @@ format. Each block describes a single option.
|
||||
| Field | Type | Optional | Description |
|
||||
|-------|------|----------|-------------|
|
||||
| Name | string | N | name of the option in snake_case |
|
||||
| FieldName | string | N | name of the field used in the rc - if blank use Name |
|
||||
| FieldName | string | N | name of the field used in the rc - if blank use Name. May contain "." for nested fields. |
|
||||
| Help | string | N | help, started with a single sentence on a single line |
|
||||
| Groups | string | Y | groups this option belongs to - comma separated string for options classification |
|
||||
| Provider | string | Y | set to filter on provider |
|
||||
|
Reference in New Issue
Block a user