cli: hyphenate "working-copy commit" in --ignore-working-copy help

The help text of `--ignore-working-copy` had one instance with hyphen
and one without.
This commit is contained in:
Martin von Zweigbergk 2024-11-22 21:53:35 -08:00 committed by Martin von Zweigbergk
parent a5c96bcf70
commit 4d19a0a539
2 changed files with 2 additions and 2 deletions

View file

@ -2936,7 +2936,7 @@ pub struct GlobalArgs {
/// command. The working copy is also updated at the end of the command,
/// if the command modified the working-copy commit (`@`). If you want
/// to avoid snapshotting the working copy and instead see a possibly
/// stale working copy commit, you can use `--ignore-working-copy`.
/// stale working-copy commit, you can use `--ignore-working-copy`.
/// This may be useful e.g. in a command prompt, especially if you have
/// another process that commits the working copy.
///

View file

@ -168,7 +168,7 @@ To get started, see the tutorial at https://martinvonz.github.io/jj/latest/tutor
By default, Jujutsu searches for the closest .jj/ directory in an ancestor of the current working directory.
* `--ignore-working-copy` — Don't snapshot the working copy, and don't update it
By default, Jujutsu snapshots the working copy at the beginning of every command. The working copy is also updated at the end of the command, if the command modified the working-copy commit (`@`). If you want to avoid snapshotting the working copy and instead see a possibly stale working copy commit, you can use `--ignore-working-copy`. This may be useful e.g. in a command prompt, especially if you have another process that commits the working copy.
By default, Jujutsu snapshots the working copy at the beginning of every command. The working copy is also updated at the end of the command, if the command modified the working-copy commit (`@`). If you want to avoid snapshotting the working copy and instead see a possibly stale working-copy commit, you can use `--ignore-working-copy`. This may be useful e.g. in a command prompt, especially if you have another process that commits the working copy.
Loading the repository at a specific operation with `--at-operation` implies `--ignore-working-copy`.
* `--ignore-immutable` — Allow rewriting immutable commits