1
0
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:
dklimpel
2023-12-04 22:01:09 +01:00
committed by Quentin Gliech
parent a56c0d0758
commit b5fb65b1cc

View File

@ -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