forked from mirrors/jj
cli: include pager command args in warning message
"No such file or directory" is useless without a command name.
This commit is contained in:
parent
cfac7468d8
commit
d8d015613c
1 changed files with 5 additions and 2 deletions
|
@ -163,8 +163,11 @@ impl Ui {
|
||||||
self.output = new_output;
|
self.output = new_output;
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
self.write_warn(&format!("Failed to spawn pager: {e}\n"))
|
self.write_warn(&format!(
|
||||||
.ok();
|
"Failed to spawn pager '{cmd}': {e}\n",
|
||||||
|
cmd = self.pager_cmd,
|
||||||
|
))
|
||||||
|
.ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue