From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iKXfOHGuul5iQgAA0tVLHw (envelope-from ) for ; Tue, 12 May 2020 14:10:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qIk0EoCuul7NFgAA1q6Kng (envelope-from ) for ; Tue, 12 May 2020 14:11:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B4A4A940607 for ; Tue, 12 May 2020 14:11:09 +0000 (UTC) Received: from localhost ([::1]:54790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYVck-0006Jm-5x for larch@yhetil.org; Tue, 12 May 2020 10:11:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYVcc-0006Hi-GZ for bug-guix@gnu.org; Tue, 12 May 2020 10:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYVcc-0000wk-6u for bug-guix@gnu.org; Tue, 12 May 2020 10:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYVcc-0003C1-28 for bug-guix@gnu.org; Tue, 12 May 2020 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40549: More usability issues: Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 May 2020 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40549 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tom Zander Received: via spool by 40549-submit@debbugs.gnu.org id=B40549.158929264912251 (code B ref 40549); Tue, 12 May 2020 14:11:02 +0000 Received: (at 40549) by debbugs.gnu.org; 12 May 2020 14:10:49 +0000 Received: from localhost ([127.0.0.1]:56288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYVcP-0003BX-3R for submit@debbugs.gnu.org; Tue, 12 May 2020 10:10:49 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:38340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYVcN-0003BJ-SH for 40549@debbugs.gnu.org; Tue, 12 May 2020 10:10:48 -0400 Received: by mail-qt1-f178.google.com with SMTP id i68so11115886qtb.5 for <40549@debbugs.gnu.org>; Tue, 12 May 2020 07:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9bEyOdaoG9dko3NhgTL3olohXlBFwadnWDj+c8cInFc=; b=SWZrOmgGWddQ+RfT8PU9DTa6dMJ9hQn7+UnlZM7XbFJ9Tm6Mneszx1m+0WPPkWSKgP O+YHge4XelUi+FMZjwZWl/IZGkEl1rhVsyT8s8O6Lmw0osiMiqORGkiNYnZH5RQs/FEi 33VsmwxGsLGFLwtx678kEB98icbzysoHwj1WtDdm/yVatTrVxO7qn48t05XETeISN6LE fwXAhDbTKZJ1BmQul0fnLUyy9R1GPbAiolsPw4b/k2wUZu6Xi7LV86xFIpefiqG1aD+O teNN1jtiMbWSxsX7KoVfmabyxgBUcN9IzUVSSuYKs1vM1LLi/j5PaDytWo/x3rLhj1xh sc5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9bEyOdaoG9dko3NhgTL3olohXlBFwadnWDj+c8cInFc=; b=pGC85CqOdIwS1ooJZJoGX90NHaSR/E8DB/VTcKu1cEN1n4e0kZYwupIX0cyHABurTG MRLwuNSI5n7FUMgtnD0kzxBQCeJHLQdPRhcvziaPQQTdLkqlPNS+wU23ejtnefm1iDSF P+anfdwQ4woQTq6fO+X7ux0uQttAE8rLHIXnUqGB0yHYvwX2OByLrN1ZWJHI94EvblX4 b0iBQBDxOLZS20iZVAPurrQxmfVNv3U7Igvzvsjm+cS1ETPzm62DnGAGClNsoH/dcPir dwwxESaBqt+kMVTzWSRafYRCE/yuiYs4WxdZT48brGHNKskdh5MDd7LqHhHaftsdgFDA QW1g== X-Gm-Message-State: AGi0PuYy3kIw4pqY7YR/IjDQcx3zYbLK8PauKLx3Hlqspij3KzctUcpO UmuQUqOgwGbKCR7yfbUgdqK/2we6K9aX0VvgZKU= X-Google-Smtp-Source: APiQypLCiSORZHl0pJMGtSvxrn/GaYMak459LsT7anL/82rYYIQQ1V4+D0R/MlQkC83mzku1+4sRs/QtN7uXgSI+SbM= X-Received: by 2002:ac8:5047:: with SMTP id h7mr17255076qtm.186.1589292641918; Tue, 12 May 2020 07:10:41 -0700 (PDT) MIME-Version: 1.0 References: <6171889.DvuYhMxLoT@cherry> <87mu6dcz8v.fsf@gnu.org> <5652466.lOV4Wx5bFT@cherry> In-Reply-To: <5652466.lOV4Wx5bFT@cherry> From: zimoun Date: Tue, 12 May 2020 16:10:29 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40549@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=SWZrOmgG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [0.09 / 13.00]; GENERIC_REPUTATION(0.00)[-0.53998325680297]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.06), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[40549@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: yvxc5pAgkupC Dear Tom, On Tue, 12 May 2020 at 11:55, Tom Zander via Bug reports for GNU Guix wrote: [...] > C apps using libc, python apps using their parser, even C++ apps using the Qt > commandline classes, all are generally compatible with regards to behavior. > > Only Guix is different. Please could you indicate me command-line tools where short-option with optional-argument is possible. Because if there is one, I could have inspiration to know how it resolves the ambiguity. > > However (srfi srfi-37) does it as we see it now. Fixing it would mean > > implementing a different option parser. > > Then fix that parser. It is inconsistent with the rest of the world and as long > as it is end-user-facing this inconsistency is a usability bug. A rather > massive one, I might say as this is about as core to the user-interaction of > the platform as it can get. The parser is not inconsistent with the rest of the world. Or please indicate with concrete examples what is wrong. The issue is that Guix uses a bad practise: option with optional-argument with both short and long name. It is a mistake to provide the short-name for such case. Thank you for the report. Now all this is clearer for me and I do not think it is a fixable bug. All the best, simon