You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
rename purge to prune
This commit is contained in:
@ -69,18 +69,18 @@ mas-cli config sync
|
|||||||
```
|
```
|
||||||
|
|
||||||
By default, this will only add new clients and upstream OAuth providers, and will not remove entries that were removed from the configuration file.
|
By default, this will only add new clients and upstream OAuth providers, and will not remove entries that were removed from the configuration file.
|
||||||
To do so, use the `--purge` option:
|
To do so, use the `--prune` option:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mas-cli config sync --purge
|
mas-cli config sync --prune
|
||||||
```
|
```
|
||||||
|
|
||||||
Before synchronizing the configuration file, it is *recommended* to do it in with the `--dry-run` option to see what will be changed, without committing the changes to the database:
|
Before synchronizing the configuration file, it is *recommended* to do it in with the `--dry-run` option to see what will be changed, without committing the changes to the database:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mas-cli config sync --dry-run
|
mas-cli config sync --dry-run
|
||||||
# with the --purge option
|
# with the --prune option
|
||||||
mas-cli config sync --dry-run --purge
|
mas-cli config sync --dry-run --prune
|
||||||
```
|
```
|
||||||
|
|
||||||
## Next step
|
## Next step
|
||||||
|
Reference in New Issue
Block a user