From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GJ1wFgdzN2GVYAEAgWs5BA (envelope-from ) for ; Tue, 07 Sep 2021 16:11:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0OMWEgdzN2E7GwAAB5/wlQ (envelope-from ) for ; Tue, 07 Sep 2021 14:11:19 +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 01CF22F893 for ; Tue, 7 Sep 2021 16:11:19 +0200 (CEST) Received: from localhost ([::1]:41696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNbok-0006qF-1v for larch@yhetil.org; Tue, 07 Sep 2021 10:11:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNbW6-0004Qh-Id for guix-patches@gnu.org; Tue, 07 Sep 2021 09:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44109) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNbW6-0000jn-Af for guix-patches@gnu.org; Tue, 07 Sep 2021 09:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNbW6-0003r6-AI for guix-patches@gnu.org; Tue, 07 Sep 2021 09:52:02 -0400 Subject: bug#50314: [PATCH 0/2] Add hint typo for importers and system actions Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 07 Sep 2021 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 50314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 50314-done@debbugs.gnu.org Mail-Followup-To: 50314@debbugs.gnu.org, ludo@gnu.org, zimon.toutoune@gmail.com Received: via spool by 50314-done@debbugs.gnu.org id=D50314.163102269214772 (code D ref 50314); Tue, 07 Sep 2021 13:52:02 +0000 Received: (at 50314-done) by debbugs.gnu.org; 7 Sep 2021 13:51:32 +0000 Received: from localhost ([127.0.0.1]:55654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNbVc-0003qB-8g for submit@debbugs.gnu.org; Tue, 07 Sep 2021 09:51:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNbVb-0003py-6i for 50314-done@debbugs.gnu.org; Tue, 07 Sep 2021 09:51:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49796) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNbVV-0000EQ-MC; Tue, 07 Sep 2021 09:51:25 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35358 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNbVV-0006IC-Dx; Tue, 07 Sep 2021 09:51:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210901095538.12813-1-zimon.toutoune@gmail.com> Date: Tue, 07 Sep 2021 15:51:22 +0200 In-Reply-To: <20210901095538.12813-1-zimon.toutoune@gmail.com> (zimoun's message of "Wed, 1 Sep 2021 11:55:38 +0200") Message-ID: <878s085w9x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631023879; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=TRwf/1G0eE4l3z0ZYeqJr+2DW+NHaq7sfXiAk1o+t3I=; b=rsPwic1mIiigcCOQ8WcBpWz6hsoVkHmXCoqxcOZARCiexiWe/cyHvLRWZHH3pJmV79gJNE /TDecAdq4exh5XudKG8vuIfQOf+agsFeKvDajplurYKulBW/UP4mWQilMOaV4YTKzfo4Q5 nyR6N+Kb8I3/UORq6mcJ40HNLXG0UFe6igWU6vJy6czlYR5mHjaHzzgor7UjGXmoYFmnkf 8UPwrvSkZKYh3Jfg/s0zz3SIVKBRLchGkhJsoOp2zIphnrOkmdSpMUTW6RIX7+8VmDlvFq q1kAzNKUCQPReP3ueKdLI8P1EOYp9Kp8OWvVQYTUmM3BHiPa8HX5HU60zjA1eA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631023879; a=rsa-sha256; cv=none; b=HXQE1jtGdJMsOQwaHj8HMfbuSzkfBntmP8+HPPnrhSk4DlS0k3EynZwMRD1zoeAQUd4sZB QMOKVgDCO9LBD2YSsF6LayxXjmVT7QLQYAS6inLhpqUzGdkRRY0tgpJEuQAMcPxODKuSMX eztTnGPOpIKkGHcSvnbpTQTdJxrIfOuxoucdD+sVB66lhT1rVCuaztndmcYXS1s+9ERt3y CeQnJKvjAeaMQJiQfK9+HT04ll+wx0deCbVmClFUlo8p6tfHVy9KzY8dpi4o8Tndjp/MBY fmfYa+1GwV4iEOyXdAmnRfmSWhrma2C7LhAbjlmMhHAU4IYUFeZr5Q9qzw3qGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 01CF22F893 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y4kkoLQBBb/D Hello! zimoun skribis: > Instead of, > > $ guix import pypy foo > guix import: error: pypy: invalid importer > > it becomes > > $ ./pre-inst-env guix import pypy foo > guix import: error: pypy: invalid importer > hint: Did you mean `pypi'? > > And thanks to Sarah, the --options are also hinted (when typo). [...] > $ ./pre-inst-env guix system sarch cuirass > guix system: error: sarch: unknown action > hint: Did you mean `search'? Nice! > import: Add hint for importer typo. > system: Add hint for action typo. Applied, thanks! :-) Ludo=E2=80=99.