From 2a3376d237d90a4c958ef3aff7932663063ca51e Mon Sep 17 00:00:00 2001 From: dtzp555 Date: Mon, 11 May 2026 04:18:30 +1000 Subject: [PATCH] docs(readme): show --yes in rollback usage examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per Iron Rule 10 reviewer nit on PR #91: live rollback requires --yes even for interactive humans. Update §Upgrading examples to show the canonical human form. (AI agents pass --yes by convention; humans were hitting a confusing "requires --yes" error following the prior README.) Co-Authored-By: Claude Opus 4.7 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 79c749c..52d30f8 100644 --- a/README.md +++ b/README.md @@ -577,9 +577,9 @@ ocp update # smart-pick path ocp update --check # show available updates, don't apply ocp update --dry-run # preview plan ocp update --target v3.13.0 # pin a specific version -ocp update --rollback # restore most recent snapshot -ocp update --rollback --list -ocp update --rollback --dry-run +ocp update --rollback --yes # restore most recent snapshot (--yes confirms) +ocp update --rollback --list # list snapshots, no mutation +ocp update --rollback --dry-run # preview rollback plan ``` ### When upgrade fails @@ -587,7 +587,7 @@ ocp update --rollback --dry-run `ocp update` prints a recovery line on failure. To restore from the snapshot: ```bash -ocp update --rollback +ocp update --rollback --yes # --yes confirms the destructive restore ocp doctor ```