GNU bug report logs - #36594
No hint for missing argument

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Julien Lepiller <julien@HIDDEN>; Keywords: easy; dated Thu, 11 Jul 2019 09:50:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 36594 <at> debbugs.gnu.org:


Received: (at 36594) by debbugs.gnu.org; 12 Jul 2019 20:41:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 12 16:41:24 2019
Received: from localhost ([127.0.0.1]:40788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hm2M7-0004ga-Ns
	for submit <at> debbugs.gnu.org; Fri, 12 Jul 2019 16:41:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52325)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hm2M6-0004gP-Mk
 for 36594 <at> debbugs.gnu.org; Fri, 12 Jul 2019 16:41:23 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48508)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hm2M1-0002Zg-0U; Fri, 12 Jul 2019 16:41:17 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53172 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hm2M0-0004om-KY; Fri, 12 Jul 2019 16:41:16 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Julien Lepiller <julien@HIDDEN>
Subject: Re: bug#36594: No hint for missing argument
References: <C500F9C2-AEBB-4FE7-A826-A4A75E280031@HIDDEN>
 <87v9w8pan9.fsf@HIDDEN> <20190711234519.10ba7cfb@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 24 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 12 Jul 2019 22:41:15 +0200
In-Reply-To: <20190711234519.10ba7cfb@HIDDEN> (Julien Lepiller's
 message of "Thu, 11 Jul 2019 23:45:19 +0200")
Message-ID: <871ryvf0k4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36594
Cc: 36594 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Julien Lepiller <julien@HIDDEN> skribis:

> Le Thu, 11 Jul 2019 22:40:58 +0200,
> Ludovic Court=C3=A8s <ludo@HIDDEN> a =C3=A9crit :

[...]

>> Currently it says:
>>=20
>> --8<---------------cut here---------------start------------->8---
>> $ guix build --help | grep -e -verbo
>>   -v, --verbosity=3DLEVEL  use the given verbosity LEVEL
>> --8<---------------cut here---------------end--------------->8---
>>=20
>> We could add =E2=80=9Can integer between 0 and 2=E2=80=9D, but this was =
left
>> non-explicit in case we eventually extend it to -7 to +42.
>>=20
>> Maybe there=E2=80=99s a limit on what we can do to help users?  :-)
>>=20
>> Ludo=E2=80=99.
>
> If users have no idea what value to use though, they just won't use the
> feature...

What about:

  use the given verbosity LEVEL, an integer

?

If that=E2=80=99s fine with you, please push!

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#36594; Package guix. Full text available.

Message received at 36594 <at> debbugs.gnu.org:


Received: (at 36594) by debbugs.gnu.org; 11 Jul 2019 21:45:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 17:45:35 2019
Received: from localhost ([127.0.0.1]:38943 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hlgsh-0002pk-BO
	for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 17:45:35 -0400
Received: from lepiller.eu ([89.234.186.109]:34680)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1hlgsd-0002pX-1E
 for 36594 <at> debbugs.gnu.org; Thu, 11 Jul 2019 17:45:31 -0400
Received: from sybil.lepiller.eu (89-92-10-229.hfc.dyn.abo.bbox.fr
 [89.92.10.229]) by lepiller.eu (OpenSMTPD) with ESMTPSA id aef509d6
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Thu, 11 Jul 2019 21:45:26 +0000 (UTC)
Date: Thu, 11 Jul 2019 23:45:19 +0200
From: Julien Lepiller <julien@HIDDEN>
To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= <ludo@HIDDEN>
Subject: Re: bug#36594: No hint for missing argument
Message-ID: <20190711234519.10ba7cfb@HIDDEN>
In-Reply-To: <87v9w8pan9.fsf@HIDDEN>
References: <C500F9C2-AEBB-4FE7-A826-A4A75E280031@HIDDEN>
 <87v9w8pan9.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36594
Cc: 36594 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Le Thu, 11 Jul 2019 22:40:58 +0200,
Ludovic Court=C3=A8s <ludo@HIDDEN> a =C3=A9crit :

> Julien Lepiller <julien@HIDDEN> skribis:
>=20
> > When you type an option that requires an argument, but don't
> > provide one, you get an error message that says there is a missing
> > argument. There should brobably be a hint on what values are
> > acceptable. For instance, there is no way to know from "guix
> > package -v" or "guix package --help" what values are accepted. In
> > other cases, there is a --list-something option.
> >
> > Maybe -v is the only case where it would be useful to do something,
> > because you could guess its existence and not use a verbosity
> > level. Maybe fixing the help message to say --verbosity=3D[0-5] is
> > enough? =20
>=20
> Currently it says:
>=20
> --8<---------------cut here---------------start------------->8---
> $ guix build --help | grep -e -verbo
>   -v, --verbosity=3DLEVEL  use the given verbosity LEVEL
> --8<---------------cut here---------------end--------------->8---
>=20
> We could add =E2=80=9Can integer between 0 and 2=E2=80=9D, but this was l=
eft
> non-explicit in case we eventually extend it to -7 to +42.
>=20
> Maybe there=E2=80=99s a limit on what we can do to help users?  :-)
>=20
> Ludo=E2=80=99.

If users have no idea what value to use though, they just won't use the
feature...




Information forwarded to bug-guix@HIDDEN:
bug#36594; Package guix. Full text available.
Added tag(s) easy. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 36594 <at> debbugs.gnu.org:


Received: (at 36594) by debbugs.gnu.org; 11 Jul 2019 20:41:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 16:41:07 2019
Received: from localhost ([127.0.0.1]:38837 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hlfsJ-0007Pb-0f
	for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 16:41:07 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53289)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hlfsI-0007PA-8A
 for 36594 <at> debbugs.gnu.org; Thu, 11 Jul 2019 16:41:06 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43706)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hlfsC-0000Cr-Hh; Thu, 11 Jul 2019 16:41:00 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51396 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hlfsC-0002H8-4m; Thu, 11 Jul 2019 16:41:00 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Julien Lepiller <julien@HIDDEN>
Subject: Re: bug#36594: No hint for missing argument
References: <C500F9C2-AEBB-4FE7-A826-A4A75E280031@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 23 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 11 Jul 2019 22:40:58 +0200
In-Reply-To: <C500F9C2-AEBB-4FE7-A826-A4A75E280031@HIDDEN> (Julien
 Lepiller's message of "Thu, 11 Jul 2019 11:49:45 +0200")
Message-ID: <87v9w8pan9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36594
Cc: 36594 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Julien Lepiller <julien@HIDDEN> skribis:

> When you type an option that requires an argument, but don't provide one,=
 you get an error message that says there is a missing argument. There shou=
ld brobably be a hint on what values are acceptable. For instance, there is=
 no way to know from "guix package -v" or "guix package --help" what values=
 are accepted. In other cases, there is a --list-something option.
>
> Maybe -v is the only case where it would be useful to do something, becau=
se you could guess its existence and not use a verbosity level. Maybe fixin=
g the help message to say --verbosity=3D[0-5] is enough?

Currently it says:

--8<---------------cut here---------------start------------->8---
$ guix build --help | grep -e -verbo
  -v, --verbosity=3DLEVEL  use the given verbosity LEVEL
--8<---------------cut here---------------end--------------->8---

We could add =E2=80=9Can integer between 0 and 2=E2=80=9D, but this was left
non-explicit in case we eventually extend it to -7 to +42.

Maybe there=E2=80=99s a limit on what we can do to help users?  :-)

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#36594; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Jul 2019 09:50:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 05:50:00 2019
Received: from localhost ([127.0.0.1]:37040 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hlViB-0005bz-Sy
	for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 05:50:00 -0400
Received: from lists.gnu.org ([209.51.188.17]:35655)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1hlViA-0005bs-6v
 for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 05:49:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50979)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <julien@HIDDEN>) id 1hlVi9-0003Sz-6w
 for bug-guix@HIDDEN; Thu, 11 Jul 2019 05:49:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ****
X-Spam-Status: No, score=4.7 required=5.0 tests=BAYES_20,
 RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SBL_CSS autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <julien@HIDDEN>) id 1hlVi8-0002DD-82
 for bug-guix@HIDDEN; Thu, 11 Jul 2019 05:49:57 -0400
Received: from lepiller.eu ([89.234.186.109]:42798)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <julien@HIDDEN>) id 1hlVi7-0002Bl-Uh
 for bug-guix@HIDDEN; Thu, 11 Jul 2019 05:49:56 -0400
Received: from [10.138.132.0] (181.emeraldonion.org [23.129.64.181])
 by lepiller.eu (OpenSMTPD) with ESMTPSA id 717b82a7
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <bug-guix@HIDDEN>;
 Thu, 11 Jul 2019 09:49:46 +0000 (UTC)
Date: Thu, 11 Jul 2019 11:49:45 +0200
User-Agent: K-9 Mail for Android
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: No hint for missing argument
To: bug-guix@HIDDEN
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <C500F9C2-AEBB-4FE7-A826-A4A75E280031@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 89.234.186.109
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  When you type an option that requires an argument, but don't
 provide one, you get an error message that says there is a missing argument.
 There should brobably be a hint on what values are acceptable. [...] 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [23.129.64.181 listed in zen.spamhaus.org]
 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in
 bl.spamcop.net
 [Blocked - see <https://www.spamcop.net/bl.shtml?23.129.64.181>]
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 0.0 SPF_NONE               SPF: sender does not publish an SPF Record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  When you type an option that requires an argument, but don't
    provide one, you get an error message that says there is a missing argument.
    There should brobably be a hint on what values are acceptable. [...] 
 
 Content analysis details:   (1.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [23.129.64.181 listed in zen.spamhaus.org]
  1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in
                             bl.spamcop.net
               [Blocked - see <https://www.spamcop.net/bl.shtml?23.129.64.181>]
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
                             medium trust
                             [209.51.188.17 listed in list.dnswl.org]
  0.0 SPF_NONE               SPF: sender does not publish an SPF Record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

When you type an option that requires an argument, but don't provide one, y=
ou get an error message that says there is a missing argument=2E There shou=
ld brobably be a hint on what values are acceptable=2E For instance, there =
is no way to know from "guix package -v" or "guix package --help" what valu=
es are accepted=2E In other cases, there is a --list-something option=2E

Maybe -v is the only case where it would be useful to do something, becaus=
e you could guess its existence and not use a verbosity level=2E Maybe fixi=
ng the help message to say --verbosity=3D[0-5] is enough?




Acknowledgement sent to Julien Lepiller <julien@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36594; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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