[vlc-devel] [PATCH] bootstrap: return errors to stderr

Rémi Denis-Courmont remi at remlab.net
Fri May 3 16:47:05 CEST 2019


Le perjantaina 3. toukokuuta 2019, 15.35.32 EEST Steve Lhomme a écrit :
> ---
>  bootstrap | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/bootstrap b/bootstrap
> index 995fee2011..a9f86b6063 100755
> --- a/bootstrap
> +++ b/bootstrap
> @@ -12,8 +12,8 @@ set -e
>  cd "$(dirname "$0")"
> 
>  if test "$#" != "0"; then
> -  echo "Usage: $0"
> -  echo "  Calls autoreconf to generate m4 macros and prepare Makefiles."
> +  echo "Usage: $0" >&2
> +  echo "  Calls autoreconf to generate m4 macros and prepare Makefiles."
> >&2 exit 1
>  fi

AFAICT, usage/help text is always printed to stdout.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list