From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iaq+E7TnNmC0TAAA0tVLHw (envelope-from ) for ; Wed, 24 Feb 2021 23:56:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gFELD7TnNmC8UAAAbx9fmQ (envelope-from ) for ; Wed, 24 Feb 2021 23:56:36 +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 A1BAC1C733 for ; Thu, 25 Feb 2021 00:56:35 +0100 (CET) Received: from localhost ([::1]:35230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lF41C-0008S9-IP for larch@yhetil.org; Wed, 24 Feb 2021 18:56:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lF410-0008Qv-1H for guix-devel@gnu.org; Wed, 24 Feb 2021 18:56:22 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:40648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lF40w-0002Ng-CF; Wed, 24 Feb 2021 18:56:21 -0500 Received: by mail-wr1-x42b.google.com with SMTP id d11so3512467wrj.7; Wed, 24 Feb 2021 15:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=p1cn09MzOqLoXFKD7txU2qtFdksEwAR880bgaPUfLRw=; b=dma5sAP675P3w0KK4HLey8utttOFDFJvErI0Mdv5ASpcoI67O3ly5pEZ8cFwtv9rFS EZ94tEvxGgM2SzHKiAY0I71tWKxBVokGTaRX0ueTKOKZcz2JB/LA6l+vN8Jvzm0lHoxD AVmxZ/eFzoQT3R7N10IsiBV/TP1Yb4e7EVZ9WmTTVAtc43a7evApln71UivMjAaQcw4/ zWt5+RLhvpYx5fjkQETigg7WVM3R0u4XvkZtv2ZJNhGbX8Lx1g1KhVnOqZEGngW3BgxF 6hh+yX5e4Y2XhUA1vdbKoscI/4BLaadF5QsHI0u//GzR++/SON3+4Lh4/AnlKCxiBbcL uTkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=p1cn09MzOqLoXFKD7txU2qtFdksEwAR880bgaPUfLRw=; b=VByrni2rV0dLxnfue5cyDLLDS9sRvVWlI8TmEEhBwh0z3GpG7Lwqkl6l5FquBj0hFB 01IeSGqONbQTXlqhzgW6AusjWM+oKwy3o4hSy5+eXG9xvvDZ++5kmPOEV3IwAaGPrdGz /uppePRbDSYEGo39zmWxvoNnzI/hcGAjcoL8rL+oVC8aLLG6GbK5E9Em8uiSBnxVDjpS Wl6Rc6c6/lNajy/EuLPOjx+fChId5kR1hYfShX94sa71BPhrlKC6a3OGD9THndpHHbDc Pb98zsTOlgbTQ2Xb4FfGhagGtLHgZcHOqK6r+zbit5tq55MWLuVMD7Qs9OLi1GN1t1il c2dA== X-Gm-Message-State: AOAM530yP0wZThfzkoqidwFZY0Y2dygVBnb1mSs6lD3BJ4pJvMZlq1Cq DiGJi3rSDi0xircItEXMn0K/tovzc3o= X-Google-Smtp-Source: ABdhPJzH1EfciHJpEvJl+lTPgKL2035JCG8EQr2JTFgxDPzROwyyGrdU1eP8n3Mm+A8AiOnU+lD0nw== X-Received: by 2002:adf:9dcc:: with SMTP id q12mr440867wre.213.1614210975728; Wed, 24 Feb 2021 15:56:15 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id u142sm5186979wmu.3.2021.02.24.15.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 15:56:15 -0800 (PST) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: option hint for all commands? In-Reply-To: References: <20210115163732.53665-1-zimon.toutoune@gmail.com> <20210119212810.20681-1-zimon.toutoune@gmail.com> <87ft2nxumw.fsf_-_@gnu.org> <86lfcficb7.fsf@gmail.com> <877dnpbdas.fsf_-_@gnu.org> Date: Thu, 25 Feb 2021 00:47:43 +0100 Message-ID: <86im6hkoyo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=dma5sAP6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A1BAC1C733 X-Spam-Score: -2.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: AeUoiFIYjgT7 Hi, >From patch#45893 [1]: > it works for commands using 'parse-command-line' and > not 'args-fold*'. For example, one patch of the series replace for > "guix show" and "guix search". I would like to replace all the > args-fold* by parse-command-line, I think it makes sense. WDYT? which means that: $ guix build --load-pth=3D/tmp/ hello guix build: error: load-pth=3D/tmp/: unrecognized option hint: Did you mean `load-path'? $ guix show --load-pth=3D/tmp/ hello guix show: error: load-pth=3D/tmp/: unrecognized option Other said, all the commands using =E2=80=99parse-command-line=E2=80=99 enj= oy the typo hinter and all the commands using =E2=80=99args-parse*=E2=80=99 don=E2=80= =99t. I am proposing to use =E2=80=99parse-command-line=E2=80=99 for all the commands . Any obj= ection? In [2]=E2=80=93with the correction passing =E2=80=99#:build-options? #f=E2= =80=99=E2=80=93there is an example for =E2=80=9Cguix show=E2=80=9D and =E2=80=9Cguix search=E2=80=9D. (using patch#46308 [3] i.e., commit e68ae7f) 1: 2: 3: All the best, simon