Skip to content

Commit

Permalink
next/prev: delete obsolete help text about inferring --edit
Browse files Browse the repository at this point in the history
We don't infer `--edit` since 3742158.
  • Loading branch information
martinvonz committed Nov 8, 2024
1 parent 2aadae1 commit 1240487
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions cli/src/commands/next.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ use crate::ui::Ui;
/// | |
/// @ A
/// ```
/// If your working-copy commit already has visible children, then `--edit` is
/// implied.
#[derive(clap::Args, Clone, Debug)]
#[command(verbatim_doc_comment)]
pub(crate) struct NextArgs {
Expand Down
2 changes: 0 additions & 2 deletions cli/src/commands/prev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ use crate::ui::Ui;
/// | |
/// A A
/// ```
/// If the working copy revision already has visible children, then `--edit` is
/// implied
#[derive(clap::Args, Clone, Debug)]
#[command(verbatim_doc_comment)]
pub(crate) struct PrevArgs {
Expand Down
4 changes: 0 additions & 4 deletions cli/tests/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -1389,8 +1389,6 @@ B => @
| |
@ A
```
If your working-copy commit already has visible children, then `--edit` is
implied.
**Usage:** `jj next [OPTIONS] [OFFSET]`
Expand Down Expand Up @@ -1682,8 +1680,6 @@ B B
| |
A A
```
If the working copy revision already has visible children, then `--edit` is
implied
**Usage:** `jj prev [OPTIONS] [OFFSET]`
Expand Down

0 comments on commit 1240487

Please sign in to comment.