[Buildroot] [PATCH 2/5 v2] suppot/download: add option parsing to the download wrapper

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 7 12:04:38 UTC 2014


Dear Yann E. MORIN,

On Sun,  7 Dec 2014 12:02:35 +0100, Yann E. MORIN wrote:

> +help() {
> +    cat <<_EOF_
> +NAME
> +    ${my_name} - downlaod wrapper for Buildroot
> +
> +SYNOPSIS
> +    ${my_name} [OPTION]... -- [BACKEND OPTION]...

Why do you create help text that look like man pages? It is very
unusual, most Unix commands don't have a help text that look like a man
page.

I had the same reflexion on the mke2img thing.

> +DESCRIPTIOM

DESCRIPTION

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list