build-man-pages: use multiline string literal

This commit is contained in:
Johannes Altmanninger
2025-10-17 15:34:04 +02:00
parent 43f8d7478e
commit 07514c5df0

View File

@@ -63,7 +63,8 @@ fn build_man(man_dir: &Path) {
Err(e) if e.kind() == std::io::ErrorKind::NotFound => {
if env_var("FISH_BUILD_DOCS") == Some("1".to_string()) {
panic!(
"Could not find sphinx-build to build man pages.\nInstall sphinx or disable building the docs by setting $FISH_BUILD_DOCS=0."
"Could not find sphinx-build to build man pages.\n\
Install sphinx or disable building the docs by setting $FISH_BUILD_DOCS=0."
);
}
rsconf::warn!("Cannot find sphinx-build to build man pages.");