diff mbox series

[bug#72928,v2] time-machine: Print profile path if no command is given.

Message ID 878qv0z11u.fsf@gnu.org
State New
Headers show
Series [bug#72928,v2] time-machine: Print profile path if no command is given. | expand

Commit Message

Ludovic Courtès Oct. 7, 2024, 9:59 a.m. UTC
Tomas Volf <~@wolfsden.cz> skribis:

> Instead of warning, print the profile path of the cached-channel-instance.
>
> * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Print
> the profile directory.
> (show-help): Adjust usage message.
> * doc/guix.texi (Invoking guix time-machine): Document it.
>
> Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177

Applied, thanks!

I took the liberty to make the cosmetic changes below to be consistent
with the style and terminology used throughout the manual.

Thanks!

Ludo’.
diff mbox series

Patch

diff --git a/doc/guix.texi b/doc/guix.texi
index e643aec19a..4aafcf9cc0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4763,9 +4763,9 @@  Invoking guix time-machine
 options (@pxref{Common Build Options}).
 
 If @command{guix time-machine} is executed without any command, it
-prints the path to the guix profile that would be used to execute the
-command.  This is sometimes useful if you need to get store path for the
-profile, e.g. when you want to @command{guix copy} it.
+prints the file name of the profile that would be used to execute the
+command.  This is sometimes useful if you need to get store file name of
+the profile---e.g., when you want to @command{guix copy} it.
 
 @node Inferiors
 @section Inferiors