mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
Merge pull request #4847 from sylvestre/boc
doc: show a warning when no tldr example
This commit is contained in:
commit
49fd7c5697
1 changed files with 4 additions and 0 deletions
|
@ -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(());
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue