summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-30 11:42:30 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-30 18:14:56 +0100
commite42f026eb52bb77039bac6b6a96dfc2ed2f86cc1 (patch)
treeffacb17e9c096e48b6e5e309d1590d22cc543e60
parent117d8cc40e9983098a080fe41cce7684b312351c (diff)
downloadguix-e42f026eb52bb77039bac6b6a96dfc2ed2f86cc1.tar.gz
ui: Present 'use-modules' hints with a question mark.
Suggested by myglc2 <myglc2@gmail.com>.

* guix/ui.scm (report-load-error): Write "Did you forget" rather than
"Try adding."
-rw-r--r--guix/ui.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index b65702474d..13cbe3a0f7 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -313,7 +313,7 @@ ARGS is the list of arguments received by the 'throw' handler."
        (#f
         (display-hint (G_ "Did you forget a @code{use-modules} form?")))
        (module
-        (display-hint (format #f (G_ "Try adding @code{(use-modules ~a)}.")
+        (display-hint (format #f (G_ "Did you forget @code{(use-modules ~a)}?")
                               (module-name module))))))
     (('srfi-34 obj)
      (if (message-condition? obj)