Adjust documentaion wording

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-03-22 08:22:29 +01:00
parent 6e5fd9e25a
commit 5408d4f9c5

View File

@@ -94,19 +94,19 @@ Other text tokens will be used to perform a case-insensitive search on the card
In addition, quotes can be used to pass a query with spaces, e.g. `"Exact match with spaces"` or `title:"My card"`. In addition, quotes can be used to pass a query with spaces, e.g. `"Exact match with spaces"` or `title:"My card"`.
### 8. New owner for the deck entities ### 8. New owner for the deck entities
You can transfer ownership of boards, cards, etc to a new user, using `occ` command `deck:transfer-ownership` You can transfer ownership of boards, cards, etc to a new user, using `occ` command `deck:transfer-ownership`
```bash ```bash
php occ deck:transfer-ownership owner newOwner php occ deck:transfer-ownership previousOwner newOwner
``` ```
The transfer will preserve card details linked to the old owner, which can also be remapped by using the `--remap` option on the occ command. The transfer will preserve card details linked to the old owner, which can also be remapped by using the `--remap` option on the occ command.
```bash ```bash
php occ deck:transfer-ownership --remap owner newOwner php occ deck:transfer-ownership --remap previousOwner newOwner
``` ```
Individual boards can be transferred by adding the id of the board to the command: Individual boards can be transferred by adding the id of the board to the command:
```bash ```bash
php occ deck:transfer-ownership owner newOwner 123 php occ deck:transfer-ownership previousOwner newOwner 123
``` ```