--- Begin Message ---
Subject: |
[PATCH] scripts: import: cran: Add missing help for 'style' option. |
Date: |
Mon, 29 Mar 2021 15:11:17 +0200 |
* guix/scripts/import/cran.scm (show-help): Add help message for 'style'
option.
---
guix/scripts/import/cran.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/guix/scripts/import/cran.scm b/guix/scripts/import/cran.scm
index 4767bc082d..466d0cb8e2 100644
--- a/guix/scripts/import/cran.scm
+++ b/guix/scripts/import/cran.scm
@@ -50,6 +50,9 @@ Import and convert the CRAN package for PACKAGE-NAME.\n"))
(display (G_ "
-r, --recursive import packages recursively"))
(display (G_ "
+ -s SPECIFICATIONS, --style=SPECIFICATIONS
+ specify package specifications instead of
references"))
+ (display (G_ "
-V, --version display version information and exit"))
(newline)
(show-bug-report-information))
--
2.28.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#47466] [PATCH] scripts: import: cran: Add missing help for 'style' option. |
Date: |
Mon, 29 Mar 2021 19:57:49 +0100 |
User-agent: |
mu4e 1.4.15; emacs 27.1 |
zimoun <zimon.toutoune@gmail.com> writes:
> * guix/scripts/import/cran.scm (show-help): Add help message for 'style'
> option.
> ---
> guix/scripts/import/cran.scm | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/guix/scripts/import/cran.scm b/guix/scripts/import/cran.scm
> index 4767bc082d..466d0cb8e2 100644
> --- a/guix/scripts/import/cran.scm
> +++ b/guix/scripts/import/cran.scm
> @@ -50,6 +50,9 @@ Import and convert the CRAN package for PACKAGE-NAME.\n"))
> (display (G_ "
> -r, --recursive import packages recursively"))
> (display (G_ "
> + -s SPECIFICATIONS, --style=SPECIFICATIONS
> + specify package specifications instead of
> references"))
> + (display (G_ "
> -V, --version display version information and exit"))
> (newline)
> (show-bug-report-information))
I changed the message, and pushed this as
55c25ee4c5cee0707c94f773eb7d1686f79cff75.
+ -s, --style=STYLE choose output style, either specification or
variable"))
In my view, the thing in caps is a placeholder, so I put STYLE rather
than SPECIFICATIONS, I also altered the message to hint at what this
controls (the output), and the supported values.
Thanks,
Chris
signature.asc
Description: PGP signature
--- End Message ---