summary refs log tree commit diff
path: root/guix-build.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-05 15:55:47 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-05 15:55:47 +0100
commit3441e164976c14ef8bf9a95ab4130ca25ac85e70 (patch)
tree3ca362753fb13ae279d178291fae4f3147abd8d5 /guix-build.in
parent706d0641cfede33c70edaee5be49251388b8a000 (diff)
downloadguix-3441e164976c14ef8bf9a95ab4130ca25ac85e70.tar.gz
ui: Factorize bug-report information in `--help'.
* guix/config.scm.in (%guix-home-page-url): New variable.
* guix/ui.scm (show-bug-report-information): New procedure.
* guix-build.in (show-help): Use it.
* guix-download.in (show-help): Likewise.
* guix-import.in (show-help): Likewise.
* guix-package.in (show-help): Likewise.
Diffstat (limited to 'guix-build.in')
-rw-r--r--guix-build.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/guix-build.in b/guix-build.in
index 5136a2a5e4..96ec018a51 100644
--- a/guix-build.in
+++ b/guix-build.in
@@ -12,7 +12,7 @@ exec ${GUILE-@GUILE@} -L "@guilemoduledir@" -l "$0"    \
          -c "(apply $main (cdr (command-line)))" "$@"
 !#
 ;;; Guix --- Nix package management from Guile.         -*- coding: utf-8 -*-
-;;; Copyright (C) 2012 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright (C) 2012, 2013 Ludovic Courtès <ludo@gnu.org>
 ;;;
 ;;; This file is part of Guix.
 ;;;
@@ -104,8 +104,7 @@ Build the given PACKAGE-OR-DERIVATION and return their output paths.\n"))
   (display (_ "
   -V, --version          display version information and exit"))
   (newline)
-  (format #t (_ "
-Report bugs to: ~a.~%") "@PACKAGE_BUGREPORT@"))
+  (show-bug-report-information))
 
 (define %options
   ;; Specifications of the command-line options.