diff mbox series

[bug#43159,2/2] ui: '--help' output links to <https://guix.gnu.org/help/>.

Message ID 20200901204136.21375-2-ludo@gnu.org
State Accepted
Headers show
Series Make 'guix help' helpful | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Ludovic Courtès Sept. 1, 2020, 8:41 p.m. UTC
* guix/ui.scm (show-bug-report-information): Link to
<https://guix.gnu.org/help/> instead of <https://www.gnu.org/gethelp/>.
The former is much more useful and includes links to GNU manuals.
---
 guix/ui.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Maxim Cournoyer Sept. 2, 2020, 6:27 p.m. UTC | #1
Ludovic Courtès <ludo@gnu.org> writes:

> * guix/ui.scm (show-bug-report-information): Link to
> <https://guix.gnu.org/help/> instead of <https://www.gnu.org/gethelp/>.
> The former is much more useful and includes links to GNU manuals.
> ---
>  guix/ui.scm | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/guix/ui.scm b/guix/ui.scm
> index 4d90a47bb9..87a1925a4b 100644
> --- a/guix/ui.scm
> +++ b/guix/ui.scm
> @@ -542,8 +542,9 @@ There is NO WARRANTY, to the extent permitted by law.
>  Report bugs to: ~a.") %guix-bug-report-address)
>    (format #t (G_ "
>  ~a home page: <~a>") %guix-package-name %guix-home-page-url)
> -  (display (G_ "
> -General help using GNU software: <http://www.gnu.org/gethelp/>"))
> +  (format #t (G_ "
> +General help using Guix and GNU software: <~a>")
> +           "https://guix.gnu.org/help/")
>    (newline))

LGTM!

Maxim
diff mbox series

Patch

diff --git a/guix/ui.scm b/guix/ui.scm
index 4d90a47bb9..87a1925a4b 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -542,8 +542,9 @@  There is NO WARRANTY, to the extent permitted by law.
 Report bugs to: ~a.") %guix-bug-report-address)
   (format #t (G_ "
 ~a home page: <~a>") %guix-package-name %guix-home-page-url)
-  (display (G_ "
-General help using GNU software: <http://www.gnu.org/gethelp/>"))
+  (format #t (G_ "
+General help using Guix and GNU software: <~a>")
+           "https://guix.gnu.org/help/")
   (newline))
 
 (define (augmented-system-error-handler file)