Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
rename purge to prune
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel authored and sandhose committed Dec 5, 2023
1 parent a56c0d0 commit b5fb65b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/setup/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
To do so, use the `--purge` option:
To do so, use the `--prune` option:

```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:

```sh
mas-cli config sync --dry-run
# with the --purge option
mas-cli config sync --dry-run --purge
# with the --prune option
mas-cli config sync --dry-run --prune
```

## Next step
Expand Down

0 comments on commit b5fb65b

Please sign in to comment.