Skip to content

Commit

Permalink
fix docs & examples
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Sep 16, 2024
1 parent ab7dc2c commit 4a83c18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ source-specific option and then only apply to this source.

**Note**: Copy-targets must be defined in their own config profile files.

| Attribute | Description | Default Value | Example Value |
| --------- | ------------------ | ------------- | ---------------------------------------- |
| target | One or more target | Not set | "remote_host" / ["profile1", "profile2"] |
| Attribute | Description | Default Value | Example Value |
| --------- | ------------------ | ------------- | ------------------------ |
| targets | Targets to copy to | [] | ["profile1", "profile2"] |

### WebDAV Options `[webdav]`

Expand Down
2 changes: 1 addition & 1 deletion config/copy_example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ password = "test"

# you can specify multiple targets. Note that each target must be configured via a config profile file
[copy]
target = ["full", "rustic"]
targets = ["full", "rustic"]
2 changes: 1 addition & 1 deletion tests/show-config-fixtures/empty.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ sources = []
source = []

[copy]
target = []
targets = []

[forget]
prune = false
Expand Down

0 comments on commit 4a83c18

Please sign in to comment.