mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
doc: show a warning when no tldr example
This commit is contained in:
@@ -216,6 +216,10 @@ impl<'a, 'b> MDWriter<'a, 'b> {
|
||||
} else if let Some(f) = get_zip_content(zip, &format!("pages/linux/{}.md", self.name)) {
|
||||
f
|
||||
} else {
|
||||
println!(
|
||||
"Warning: Could not find tldr examples for page '{}'",
|
||||
self.name
|
||||
);
|
||||
return Ok(());
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user