From 2df2a8c8b60ec0a6e9840f7a3e27f2c06904499e Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Tue, 2 Dec 2025 15:13:00 +0100 Subject: [PATCH] add missing force option --- docs/cli-commands/service_independent_cli.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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