Skip to content

Commit

Permalink
docstrings: Update to help string for jj diffedit
Browse files Browse the repository at this point in the history
Minor update to match the wording in parent commit.
  • Loading branch information
ilyagr committed May 24, 2023
1 parent 8fba2f3 commit d384ca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ struct RestoreArgs {
/// changes into or out of the parent revision.
#[derive(clap::Args, Clone, Debug)]
struct DiffeditArgs {
/// The revision to touch up. Defaults to @ if --to/--from are not
/// The revision to touch up. Defaults to @ if neither --to nor --from are
/// specified.
#[arg(long, short)]
revision: Option<RevisionArg>,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_global_opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ fn test_help() {
Usage: jj diffedit [OPTIONS]
Options:
-r, --revision <REVISION> The revision to touch up. Defaults to @ if --to/--from are not specified
-r, --revision <REVISION> The revision to touch up. Defaults to @ if neither --to nor --from are specified
--from <FROM> Show changes from this revision. Defaults to @ if --to is specified
--to <TO> Edit changes in this revision. Defaults to @ if --from is specified
-h, --help Print help (see more with '--help')
Expand Down

0 comments on commit d384ca3

Please sign in to comment.