forked from mirrors/jj
cli: inform the user of the command which disables the hint
This commit is contained in:
parent
a9c3af8153
commit
416bde236a
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ fn editor_args_from_settings(
|
||||||
let default_editor = BUILTIN_EDITOR_NAME;
|
let default_editor = BUILTIN_EDITOR_NAME;
|
||||||
writeln!(
|
writeln!(
|
||||||
ui.hint(),
|
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)?;
|
.map_err(ExternalToolError::Io)?;
|
||||||
Ok(default_editor.into())
|
Ok(default_editor.into())
|
||||||
|
|
Loading…
Reference in a new issue