Subject: [bug#63571] [PATCH v2 06/19] doc: Mention 'guix refresh -u' for third-party channels.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 29 May 2023 16:45:17 +0200

* doc/guix.texi (Invoking guix refresh): Show how to run 'guix refresh
-u' on a third-party channel.
---
 doc/guix.texi | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 31dc33fb97..b52a40cc38 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14340,15 +14340,22 @@ Invoking guix refresh
 
 @item --update
 @itemx -u
-Update distribution source files (package recipes) in place.  This is
+Update distribution source files (package definitions) in place.  This is
 usually run from a checkout of the Guix source tree (@pxref{Running
 Guix Before It Is Installed}):
 
 @example
-$ ./pre-inst-env guix refresh -s non-core -u
+./pre-inst-env guix refresh -s non-core -u
 @end example
 
 @xref{Defining Packages}, for more information on package definitions.
+You can also run it on packages from a third-party channel:
+
+@example
+guix refresh -L /path/to/channel -u @var{package}
+@end example
+
+@xref{Creating a Channel}, on how to create a channel.
 
 @item --select=[@var{subset}]
 @itemx -s @var{subset}
-- 
2.40.1