[bug#72928,v2] time-machine: Print profile path if no command is given.
Commit Message
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’.
@@ -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