From 5bad272e90373af95e219a9a1a69248a2c1ff2db Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sat, 30 Apr 2022 21:55:34 -0700 Subject: [PATCH] docs: update stale references to `-o` argument deleted in 8744015f3305 --- demos/demo_operation_log.sh | 4 ++-- docs/git-comparison.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/demo_operation_log.sh b/demos/demo_operation_log.sh index d566d4aa5..854a31583 100755 --- a/demos/demo_operation_log.sh +++ b/demos/demo_operation_log.sh @@ -47,7 +47,7 @@ expect_prompt pause 7 run_command "" run_command "# Let'\''s undo that rebase operation:" -run_command "jj undo -o $rebase_op" +run_command "jj undo $rebase_op" pause 3 run_command "# The \"stuff\" change is now back on master as" run_command "# expected:" @@ -58,7 +58,7 @@ run_command "# after the rebase operation:" run_command "jj --at-op $rebase_op log" pause 5 run_command "# Looks nice, let'\''s go back to that point:" -run_command "jj op restore -o $rebase_op" +run_command "jj op restore $rebase_op" pause 2 run_command "" run_command "# We'\''re now back to before the \"other stuff\"" diff --git a/docs/git-comparison.md b/docs/git-comparison.md index a6ee84438..135c0a687 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -290,7 +290,7 @@ parent. Undo an earlier operation - jj [op] undo -o <operation ID> + jj [op] undo <operation ID> (jj undo is an alias for jj op undo) Not supported