diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-11-30 11:42:30 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-11-30 18:14:56 +0100 |
commit | e42f026eb52bb77039bac6b6a96dfc2ed2f86cc1 (patch) | |
tree | ffacb17e9c096e48b6e5e309d1590d22cc543e60 | |
parent | 117d8cc40e9983098a080fe41cce7684b312351c (diff) | |
download | patches-e42f026eb52bb77039bac6b6a96dfc2ed2f86cc1.tar patches-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.scm | 2 |
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) |