Skip to content

Commit

Permalink
cli: adjust error message for dummy revert command
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed Nov 18, 2023
1 parent a3d36b5 commit 1c5d0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ pub fn run_command(ui: &mut Ui, command_helper: &CommandHelper) -> Result<(), Co

fn revert() -> Result<(), CommandError> {
Err(user_error_with_hint(
"No such subcommand",
"No such subcommand: revert",
"Consider `jj backout` or `jj restore`",
))
}
Expand Down

0 comments on commit 1c5d0e0

Please sign in to comment.