* [bug#74418] [PATCH] doc: Explain ‘--’ syntax of ‘guix shell’ before giving examples.
@ 2024-11-18 14:38 Florian Pelz
2024-11-18 15:00 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Florian Pelz @ 2024-11-18 14:38 UTC (permalink / raw)
To: 74418; +Cc: Florian Pelz, Ludovic Courtès, Maxim Cournoyer
This paragraph is present in the ‘guix environment’ docs. I presume
it clarifies ‘guix shell’ for newcomers as well.
* doc/guix.texi (Invoking guix shell): Take over an introductory
paragraph from ‘guix environment’ and use it for ‘guix shell’.
Change-Id: I06280516ad3436260114b074c5f325e6984e9c76
---
doc/guix.texi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index ba4bd2cc79..f71f0b6561 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5933,6 +5933,10 @@ Invoking guix shell
guix shell [@var{options}] [@var{package}@dots{}]
@end example
+Sometimes an interactive shell session is not desired. An arbitrary
+command may be invoked by placing the @code{--} token to separate the
+command from the rest of the arguments.
+
The following example creates an environment containing Python and NumPy,
building or downloading any missing package, and runs the
@command{python3} command in that environment:
base-commit: 23cbbe6860782c5d4a0ba599ea1cda0642e91661
--
2.46.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#74418] [PATCH] doc: Explain ‘--’ syntax of ‘guix shell’ before giving examples.
2024-11-18 14:38 [bug#74418] [PATCH] doc: Explain ‘--’ syntax of ‘guix shell’ before giving examples Florian Pelz
@ 2024-11-18 15:00 ` Ludovic Courtès
2024-11-18 22:32 ` Noé Lopez via Guix-patches via
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2024-11-18 15:00 UTC (permalink / raw)
To: Florian Pelz; +Cc: 74418, Maxim Cournoyer
Florian Pelz <pelzflorian@pelzflorian.de> skribis:
> This paragraph is present in the ‘guix environment’ docs. I presume
> it clarifies ‘guix shell’ for newcomers as well.
>
> * doc/guix.texi (Invoking guix shell): Take over an introductory
> paragraph from ‘guix environment’ and use it for ‘guix shell’.
>
> Change-Id: I06280516ad3436260114b074c5f325e6984e9c76
LGTM!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#74418] [PATCH] doc: Explain ‘--’ syntax of ‘guix shell’ before giving examples.
2024-11-18 15:00 ` Ludovic Courtès
@ 2024-11-18 22:32 ` Noé Lopez via Guix-patches via
2024-11-19 11:17 ` bug#74418: " pelzflorian (Florian Pelz)
0 siblings, 1 reply; 4+ messages in thread
From: Noé Lopez via Guix-patches via @ 2024-11-18 22:32 UTC (permalink / raw)
To: 74418; +Cc: Florian Pelz
Looks good to me too, the explanation is clear.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#74418: [PATCH] doc: Explain ‘--’ syntax of ‘guix shell’ before giving examples.
2024-11-18 22:32 ` Noé Lopez via Guix-patches via
@ 2024-11-19 11:17 ` pelzflorian (Florian Pelz)
0 siblings, 0 replies; 4+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-11-19 11:17 UTC (permalink / raw)
To: 74418-done; +Cc: Noé Lopez, Ludovic Courtès
Pushed as d6b8679784f57c6a71ef7d6ccab19d87f4c38721.
Thank you Ludo, Noé for reviewing.
Regards,
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-19 11:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-18 14:38 [bug#74418] [PATCH] doc: Explain ‘--’ syntax of ‘guix shell’ before giving examples Florian Pelz
2024-11-18 15:00 ` Ludovic Courtès
2024-11-18 22:32 ` Noé Lopez via Guix-patches via
2024-11-19 11:17 ` bug#74418: " pelzflorian (Florian Pelz)
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.