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

From: Ludovic Courtès <[email-masked]>
Date: Mon, 07 Oct 2024 11:59:09 +0200

Tomas Volf <[email-masked]> 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 --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