Skip to content

help text for rebase is inconsistent #5218

Open
@joyously

Description

@joyously

Description

My reading of the jj help rebase text is perhaps tainted by seeing -r used on other commands as plural, so I equate it with "revset". I got confused by the first paragraph saying that -s is for "a revision and its descendants" followed immediately by -r for "a single commit". They seemed backward to me, so the examples were a bit much especially since they take up enough room that I can't fit the first paragraph explanation on the same screen as the option descriptions. In addition, the example graphs have visible Markdown taking up space.
The option description says that -s is for source and -r is for revisions (plural).

This is one explanation where using both "commit" and "revision" is very confusing.
The help needs to say a little more about rebase than simply "move revisions to different parents", to give at least a hint of what changes and/or what consequences or limits there are since novice users need that.

Steps to Reproduce the Problem

  1. jj help rebase
  2. compare first paragraph to option definitions

Expected Behavior

I expect option letters to make sense.

Actual Behavior

Option letters represent renamed concepts ( -b for branch ), no match for the letter ( -s for "a revision and its descendants" ), and different plurality ( -r is "single commit" versus "--revisions" )

Specifications

  • Platform: Ubuntu Studio 24.04
  • Version: jj 0.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation 📖Improvements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions