Skip to content

Commit

Permalink
Fix the description of the --source arg in the jj rebase --help docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emesterhazy committed Mar 31, 2024
1 parent 8eed08b commit 75e938c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/rebase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ pub(crate) struct RebaseArgs {
#[arg(long, short)]
branch: Vec<RevisionArg>,

/// Rebase specified revision(s) together their tree of descendants (can be
/// repeated)
/// Rebase specified revision(s) together with their trees of descendants
/// (can be repeated)
///
/// Each specified revision will become a direct child of the destination
/// revision(s), even if some of the source revisions are descendants
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ commit. This is true in general; it is not specific to this command.
###### **Options:**
* `-b`, `--branch <BRANCH>` — Rebase the whole branch relative to destination's ancestors (can be repeated)
* `-s`, `--source <SOURCE>` — Rebase specified revision(s) together their tree of descendants (can be repeated)
* `-s`, `--source <SOURCE>` — Rebase specified revision(s) together with their trees of descendants (can be repeated)
* `-r`, `--revision <REVISION>` — Rebase only this revision, rebasing descendants onto this revision's parent(s)
* `-d`, `--destination <DESTINATION>` — The revision(s) to rebase onto (can be repeated to create a merge commit)
* `--skip-empty` — If true, when rebasing would produce an empty commit, the commit is abandoned. It will not be abandoned if it was already empty before the rebase. Will never skip merge commits with multiple non-empty parents
Expand Down

0 comments on commit 75e938c

Please sign in to comment.