Skip to content

build: Don't show tldr.zip is missing error for all utils #9940

@oech3

Description

@oech3

coreutils/src/bin/uudoc.rs

Lines 137 to 146 in 6d68df1

fn print_tldr_error() {
eprintln!("Warning: No tldr archive found, so the documentation will not include examples.");
eprintln!(
"To include examples in the documentation, download the tldr archive and put it in the docs/ folder."
);
eprintln!();
eprintln!(
" curl -L https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip -o docs/tldr.zip"
);
eprintln!();

Calling this for all utils pollutes the build log. No need to show it 100+ times.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions