From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#36594: No hint for missing argument Date: Thu, 11 Jul 2019 11:49:45 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51034) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlViF-0003TD-H0 for bug-guix@gnu.org; Thu, 11 Jul 2019 05:50:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlViE-0002NP-MB for bug-guix@gnu.org; Thu, 11 Jul 2019 05:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlViE-0002NH-Ih for bug-guix@gnu.org; Thu, 11 Jul 2019 05:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlViE-0005cM-FN for bug-guix@gnu.org; Thu, 11 Jul 2019 05:50:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:50979) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlVi9-0003Sz-6w for bug-guix@gnu.org; Thu, 11 Jul 2019 05:49:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlVi8-0002DD-82 for bug-guix@gnu.org; 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 ) id 1hlVi7-0002Bl-Uh for bug-guix@gnu.org; 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 ; Thu, 11 Jul 2019 09:49:46 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36594@debbugs.gnu.org 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?