GNU bug report logs - #63036
-v or --verbose CLI argument input is undocumented in the CLI

Previous Next

Package: guix;

Reported by: "jgart" <jgart <at> dismail.de>

Date: Sun, 23 Apr 2023 15:28:02 UTC

Severity: normal

Full log


Message #8 received at 63036 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: jgart <jgart <at> dismail.de>, 63036 <at> debbugs.gnu.org
Subject: Re: bug#63036: -v or --verbose CLI argument input is undocumented
 in the CLI
Date: Tue, 25 Apr 2023 14:36:24 +0200
[Message part 1 (text/plain, inline)]
Hi,

On Sun, 23 Apr 2023 at 15:27, "jgart" via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:

> Hmmm, what is the type and/or range of inputs that are valid for
> LEVEL?

What about this patch?

[p.patch (text/x-diff, inline)]
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 72a24f91ac..35cb888c3b 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -452,8 +452,10 @@ (define (show-help)
   -r, --root=FILE        make FILE a symlink to the result, and register it
                          as a garbage collector root"))
   (display (G_ "
-  -v, --verbosity=LEVEL  use the given verbosity LEVEL"))
-  (display (G_ "
+  -v, --verbosity=LEVEL  use the given verbosity LEVEL, range 0-3
+                         0 = no output, 1 = quiet, 2 = 1 + download URLs,
+                         3 = all on standard error"))
+    (display (G_ "
   -q, --quiet            do not show the build log"))
   (display (G_ "
       --log-file         return the log file names for the given derivations"))
[Message part 3 (text/plain, inline)]

Cheers,
simon

This bug report was last modified 2 years and 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.