ok/jj
1
0
Fork 0
forked from mirrors/jj

cli: inform the user of the command which disables the hint

This commit is contained in:
Benjamin Brittain 2024-02-10 11:50:56 -05:00
parent a9c3af8153
commit 416bde236a

View file

@ -175,7 +175,8 @@ fn editor_args_from_settings(
let default_editor = BUILTIN_EDITOR_NAME;
writeln!(
ui.hint(),
"Using default editor '{default_editor}'; you can change this by setting {key}"
"Using default editor '{default_editor}'; run `jj config set --user {key} :builtin` \
to disable this message."
)
.map_err(ExternalToolError::Io)?;
Ok(default_editor.into())