guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/13: ui: Use DISPLAY in SHOW-GUIX-HELP.


From: guix-commits
Subject: 07/13: ui: Use DISPLAY in SHOW-GUIX-HELP.
Date: Sat, 30 Oct 2021 18:58:34 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 8f455557814ef7c1402a81d87e9e45f3508f711e
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Oct 30 16:07:14 2021 +0200

    ui: Use DISPLAY in SHOW-GUIX-HELP.
    
    * guix/ui.scm (show-guix-help): Use DISPLAY where FORMAT isn't needed.
---
 guix/ui.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/ui.scm b/guix/ui.scm
index 4b4f21d..b01bb3d 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -2098,7 +2098,7 @@ contain a 'define-command' form."
     (lambda (command)
       (eq? category (command-category command))))
 
-  (format #t (G_ "Usage: guix OPTION | COMMAND ARGS...
+  (display (G_ "Usage: guix OPTION | COMMAND ARGS...
 Run COMMAND with ARGS, if given.\n"))
 
   (display (G_ "
@@ -2108,7 +2108,7 @@ Run COMMAND with ARGS, if given.\n"))
   (newline)
 
   (newline)
-  (format #t (G_ "COMMAND must be one of the sub-commands listed below:\n"))
+  (display (G_ "COMMAND must be one of the sub-commands listed below:\n"))
 
   (let ((commands   (commands))
         (categories (module-ref (resolve-interface '(guix scripts))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]