From 1c5d0e0d63d35802a7809c138b64812fce6c82e4 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Fri, 17 Nov 2023 19:30:42 -0800 Subject: [PATCH] cli: adjust error message for dummy `revert` command --- cli/src/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs index 57dae1cfe7..a48acc4f7f 100644 --- a/cli/src/commands/mod.rs +++ b/cli/src/commands/mod.rs @@ -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`", )) }