diff --git a/docs/cli-commands/service_independent_cli.md b/docs/cli-commands/service_independent_cli.md index 5151ddda9d0..2da9e2d1139 100644 --- a/docs/cli-commands/service_independent_cli.md +++ b/docs/cli-commands/service_independent_cli.md @@ -91,13 +91,18 @@ Usage: ocis shares clean-orphaned-grants \ --service-account-id "" \ --service-account-secret "" \ + [--force] \ [--space-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