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

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

Commit Message

zimoun 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’.

Patch
diff mbox series

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