unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47466] [PATCH] scripts: import: cran: Add missing help for 'style' option.
@ 2021-03-29 13:11 zimoun
  2021-03-29 18:57 ` bug#47466: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: zimoun @ 2021-03-29 13:11 UTC (permalink / raw)
  To: 47466; +Cc: zimoun, rekado

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#47466: [PATCH] scripts: import: cran: Add missing help for 'style' option.
  2021-03-29 13:11 [bug#47466] [PATCH] scripts: import: cran: Add missing help for 'style' option zimoun
@ 2021-03-29 18:57 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2021-03-29 18:57 UTC (permalink / raw)
  To: zimoun; +Cc: 47466-done

[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-29 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-29 13:11 [bug#47466] [PATCH] scripts: import: cran: Add missing help for 'style' option zimoun
2021-03-29 18:57 ` bug#47466: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).