diff mbox series

[bug#43436,1/1] guix: scripts: build: Mention 'PACKAGE' in '--with-source' option.

Message ID 20200915221729.15863-1-zimon.toutoune@gmail.com
State Accepted
Headers show
Series guix: scripts: build: Mention 'PACKAGE' in '--with-source' option. | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Simon Tournier Sept. 15, 2020, 10:17 p.m. UTC
* guix/scripts/build.scm (show-transformation-options-help): Mention 'PACKAGE'
in '--with-source' option.
---
 guix/scripts/build.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ludovic Courtès Sept. 21, 2020, 9:15 p.m. UTC | #1
zimoun <zimon.toutoune@gmail.com> skribis:

> * guix/scripts/build.scm (show-transformation-options-help): Mention 'PACKAGE'
> in '--with-source' option.
> ---
>  guix/scripts/build.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
> index 25418661b9..4592f23f26 100644
> --- a/guix/scripts/build.scm
> +++ b/guix/scripts/build.scm
> @@ -427,7 +427,7 @@ a checkout of the Git repository at the given URL."
>  
>  (define (show-transformation-options-help)
>    (display (G_ "
> -      --with-source=SOURCE
> +      --with-source=PACKAGE=SOURCE

I added square brackets because PACKAGE is optional.

Thanks!

Ludo’.
diff mbox series

Patch

diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 25418661b9..4592f23f26 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -427,7 +427,7 @@  a checkout of the Git repository at the given URL."
 
 (define (show-transformation-options-help)
   (display (G_ "
-      --with-source=SOURCE
+      --with-source=PACKAGE=SOURCE
                          use SOURCE when building the corresponding package"))
   (display (G_ "
       --with-input=PACKAGE=REPLACEMENT