forked from mirrors/jj
ui: print :builtin pager suggestion as a hint
This commit is contained in:
parent
b503ecb071
commit
cf053b7e09
1 changed files with 2 additions and 1 deletions
|
@ -333,10 +333,11 @@ impl Ui {
|
|||
// The pager executable couldn't be found or couldn't be run
|
||||
writeln!(
|
||||
self.warning_default(),
|
||||
"Failed to spawn pager '{name}': {e}. Consider using the `:builtin` pager.",
|
||||
"Failed to spawn pager '{name}': {e}",
|
||||
name = self.pager_cmd.split_name(),
|
||||
)
|
||||
.ok();
|
||||
writeln!(self.hint_default(), "Consider using the `:builtin` pager.").ok();
|
||||
})
|
||||
.ok()
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue