[arch-projects] [devtools] [PATCH 1/3] commitpkg: Fix usage message

Dan McGee dpmcgee at gmail.com
Fri Aug 19 07:54:29 EDT 2011


On Fri, Aug 19, 2011 at 1:52 AM, Lukas Fleischer
<archlinux at cryptocrack.de> wrote:
> Remove the no longer used "reponame" argument from the usage message.
Since when? commitpkg still requires an argument if called as
'commitpkg'; it does not if called as 'communitypkg', 'extrapkg', etc.
So this commit seems totally bogus to me...

>
> Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
> ---
>  commitpkg |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/commitpkg b/commitpkg
> index 1275615..244581f 100755
> --- a/commitpkg
> +++ b/commitpkg
> @@ -54,7 +54,7 @@ pkgbase=${pkgbase:-$pkgname}
>  case "$cmd" in
>        commitpkg)
>                if [ $# -eq 0 ]; then
> -                       abort 'usage: commitpkg <reponame> [-l limit] [-a arch] [commit message]'
> +                       abort 'usage: commitpkg [-l limit] [-a arch] [commit message]'
>                fi
>                repo="$1"
>                shift
> @@ -63,7 +63,7 @@ case "$cmd" in
>                repo="${cmd%pkg}"
>                ;;
>        *)
> -               abort 'usage: commitpkg <reponame> [-l limit] [-a arch] [commit message]'
> +               abort 'usage: commitpkg [-l limit] [-a arch] [commit message]'
>                ;;
>  esac
>
> --
> 1.7.6
>
>


More information about the arch-projects mailing list