summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-08 22:00:17 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-08 22:00:17 +0100
commit5284339d9d31c97146d92ee3f860ba5c70b77c46 (patch)
tree5ae2f9a8d9eae129f99a75f029014ed223b64df0 /doc/guix.texi
parentefb107e0cd34fa0ed656441bf6e2414253c0344a (diff)
downloadguix-5284339d9d31c97146d92ee3f860ba5c70b77c46.tar.gz
guix build: Add '--quiet'.
Fixes <http://bugs.gnu.org/19772>.
Reported by Andrei Osipov <andrspv@gmail.com>.

* guix/scripts/build.scm (show-help, %options): Add --quiet.
(guix-build): Parameterize 'current-build-output-port' accordingly.
* doc/guix.texi (Invoking guix build): Use it in example.
(Additional Build Options): Document it.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 0e8e5ad3a9..7945415d7a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3836,7 +3836,7 @@ guix build emacs guile
 Similarly, the following command builds all the available packages:
 
 @example
-guix build --keep-going \
+guix build --quiet --keep-going \
   `guix package -A | cut -f1,2 --output-delimiter=@@`
 @end example
 
@@ -4070,6 +4070,12 @@ build}.
 
 @table @code
 
+@item --quiet
+@itemx -q
+Build quietly, without displaying the build log.  Upon completion, the
+build log is kept in @file{/var} (or similar) and can always be
+retrieved using the @option{--log-file} option.
+
 @item --file=@var{file}
 @itemx -f @var{file}