bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: fix usage message in 'mktempd_'


From: Jim Meyering
Subject: Re: [PATCH] tests: fix usage message in 'mktempd_'
Date: Tue, 07 Jun 2011 14:17:24 +0200

Stefano Lattarini wrote:
> * tests/init.sh (mktempd_): In the usage message, use literal
> 'mktempd_', not '$ME' (which is even undefined), as the name of
> the subroutine.
> ---
>  ChangeLog     |    7 +++++++
>  tests/init.sh |    2 +-
>  2 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 506a079..43ebe3a 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,10 @@
> +2011-06-07  Stefano Lattarini  <address@hidden>
> +
> +     tests: fix usage message in 'mktempd_'
> +     * tests/init.sh (mktempd_): In the usage message, use literal
> +     'mktempd_', not '$ME' (which is even undefined), as the name of
> +     the subroutine.
> +
>  2011-06-06  Eric Blake  <address@hidden>
>
>       canonicalize-lgpl: use common idiom
> diff --git a/tests/init.sh b/tests/init.sh
> index 294dcdd..9852d83 100644
> --- a/tests/init.sh
> +++ b/tests/init.sh
> @@ -403,7 +403,7 @@ mktempd_ ()
>  {
>    case $# in
>    2);;
> -  *) fail_ "Usage: $ME DIR TEMPLATE";;
> +  *) fail_ "Usage: mktempd_ DIR TEMPLATE";;

Good change.
Thanks.  ("subroutines" make me think of FORTRAN ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]