diff mbox

[pacman-dev] makepkg: update help text to describe --packagelist's new behavior

Message ID 20180529170000.20308-1-eschwartz@archlinux.org
State Superseded, archived
Headers show

Commit Message

Eli Schwartz May 29, 2018, 5 p.m. UTC
In commit d8591dd3418d55c5736022ef003891fc03b953e0 when teaching
--packagelist to print the full filepath for built arches only, I forgot
to update the helptext at the same time as I updated the manpage.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
---
 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

morganamilo May 29, 2018, 5:02 p.m. UTC | #1
I would say it outputs the full paths not just the filenames.

On 29 May 2018 at 18:00, Eli Schwartz <eschwartz@archlinux.org> wrote:
> In commit d8591dd3418d55c5736022ef003891fc03b953e0 when teaching
> --packagelist to print the full filepath for built arches only, I forgot
> to update the helptext at the same time as I updated the manpage.
>
> Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
> ---
>  scripts/makepkg.sh.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index 27245ea8..91ee5dd0 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -1180,7 +1180,7 @@ usage() {
>         printf -- "$(gettext "  --nocheck        Do not run the %s function in the %s")\n" "check()" "$BUILDSCRIPT"
>         printf -- "$(gettext "  --noprepare      Do not run the %s function in the %s")\n" "prepare()" "$BUILDSCRIPT"
>         printf -- "$(gettext "  --nosign         Do not create a signature for the package")\n"
> -       printf -- "$(gettext "  --packagelist    Only list packages that would be produced, without PKGEXT")\n"
> +       printf -- "$(gettext "  --packagelist    Only list package filenames that would be produced")\n"
>         printf -- "$(gettext "  --printsrcinfo   Print the generated SRCINFO and exit")\n"
>         printf -- "$(gettext "  --sign           Sign the resulting package with %s")\n" "gpg"
>         printf -- "$(gettext "  --skipchecksums  Do not verify checksums of the source files")\n"
> --
> 2.17.0
diff mbox

Patch

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 27245ea8..91ee5dd0 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1180,7 +1180,7 @@  usage() {
 	printf -- "$(gettext "  --nocheck        Do not run the %s function in the %s")\n" "check()" "$BUILDSCRIPT"
 	printf -- "$(gettext "  --noprepare      Do not run the %s function in the %s")\n" "prepare()" "$BUILDSCRIPT"
 	printf -- "$(gettext "  --nosign         Do not create a signature for the package")\n"
-	printf -- "$(gettext "  --packagelist    Only list packages that would be produced, without PKGEXT")\n"
+	printf -- "$(gettext "  --packagelist    Only list package filenames that would be produced")\n"
 	printf -- "$(gettext "  --printsrcinfo   Print the generated SRCINFO and exit")\n"
 	printf -- "$(gettext "  --sign           Sign the resulting package with %s")\n" "gpg"
 	printf -- "$(gettext "  --skipchecksums  Do not verify checksums of the source files")\n"