diff --git a/cli/src/cli_util.rs b/cli/src/cli_util.rs index bc96a3931c..ec892bd6df 100644 --- a/cli/src/cli_util.rs +++ b/cli/src/cli_util.rs @@ -2366,7 +2366,7 @@ pub struct GlobalArgs { /// implies `--ignore-working-copy`. #[arg(long, global = true)] pub ignore_working_copy: bool, - /// Don't prevent rewriting immutable commits + /// Allow rewriting immutable commits /// /// By default, Jujutsu prevents rewriting commits in the configured set of /// immutable commits. This option disables that check and lets you rewrite diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index a542c8d236..14ef1e6888 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -153,7 +153,7 @@ To get started, see the tutorial at https://github.com/martinvonz/jj/blob/main/d Possible values: `true`, `false` -* `--ignore-immutable` — Don't prevent rewriting immutable commits +* `--ignore-immutable` — Allow rewriting immutable commits Possible values: `true`, `false` diff --git a/cli/tests/test_global_opts.rs b/cli/tests/test_global_opts.rs index 0dd196f264..a0c145de54 100644 --- a/cli/tests/test_global_opts.rs +++ b/cli/tests/test_global_opts.rs @@ -592,7 +592,7 @@ fn test_help() { Global Options: -R, --repository Path to repository to operate on --ignore-working-copy Don't snapshot the working copy, and don't update it - --ignore-immutable Don't prevent rewriting immutable commits + --ignore-immutable Allow rewriting immutable commits --at-operation Operation to load the repo at [default: @] [aliases: at-op] --debug Enable debug logging --color When to colorize output (always, never, auto)