Skip to content

Commit

Permalink
rebase: fix grammar in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cenviity committed Feb 2, 2025
1 parent b3099b7 commit 193191c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions cli/src/commands/rebase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ use crate::ui::Ui;
///
/// If no option is specified, it defaults to `-b @`.
///
/// There are three different way of specifying where the revisions should be
/// There are three different ways of specifying where the revisions should be
/// rebased to:
///
/// * `--destination/-d` to rebase the revisions onto of the specified targets
/// * `--insert-after/-A` to rebase the revisions onto of the specified targets
/// and to rebase the targets' descendants onto of the rebased revisions
/// * `--insert-before/-B` to rebase the revisions onto of the specified
/// targets' parents and to rebase the targets and their descendants onto of
/// the rebased revisions
/// * `--destination/-d` to rebase the revisions onto the specified targets
/// * `--insert-after/-A` to rebase the revisions onto the specified targets and
/// to rebase the targets' descendants onto the rebased revisions
/// * `--insert-before/-B` to rebase the revisions onto the specified targets'
/// parents and to rebase the targets and their descendants onto the rebased
/// revisions
///
/// See the sections below for details about the different ways of specifying
/// which revisions to rebase where.
Expand Down
14 changes: 7 additions & 7 deletions cli/tests/cli-reference@.md.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1856,15 +1856,15 @@ There are three different ways of specifying which revisions to rebase:

If no option is specified, it defaults to `-b @`.

There are three different way of specifying where the revisions should be
There are three different ways of specifying where the revisions should be
rebased to:

* `--destination/-d` to rebase the revisions onto of the specified targets
* `--insert-after/-A` to rebase the revisions onto of the specified targets
and to rebase the targets' descendants onto of the rebased revisions
* `--insert-before/-B` to rebase the revisions onto of the specified
targets' parents and to rebase the targets and their descendants onto of
the rebased revisions
* `--destination/-d` to rebase the revisions onto the specified targets
* `--insert-after/-A` to rebase the revisions onto the specified targets and
to rebase the targets' descendants onto the rebased revisions
* `--insert-before/-B` to rebase the revisions onto the specified targets'
parents and to rebase the targets and their descendants onto the rebased
revisions

See the sections below for details about the different ways of specifying
which revisions to rebase where.
Expand Down

0 comments on commit 193191c

Please sign in to comment.