add missing force option

This commit is contained in:
Martin Mattel
2025-12-02 15:13:00 +01:00
parent a75eb6d0a8
commit 2df2a8c8b6

View File

@@ -91,13 +91,18 @@ Usage:
ocis shares clean-orphaned-grants \
--service-account-id "<id>" \
--service-account-secret "<secret>" \
[--force] \
[--space-id "<space-opaque-id>"] \
[--dry-run=false]
```
Notes:
- `--dry-run` defaults to `true` (no deletions). Set to `false` to remove orphaned grants.
- `--space-id` limits the scan; omit to scan all spaces.
- `--dry-run`\
Defaults to `true` (no deletions). Set to `false` to remove orphaned grants.
- `--space-id`\
Limit the scan to a specific storage space (opaque ID).
- `--force`\
Force removal of suspected orphans even when listing shares fails.
- Public links are not touched.
### Cleanup Orphaned Shares