From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 50314-done@debbugs.gnu.org
Subject: bug#50314: [PATCH 0/2] Add hint typo for importers and system actions
Date: Tue, 07 Sep 2021 15:51:22 +0200 [thread overview]
Message-ID: <878s085w9x.fsf@gnu.org> (raw)
In-Reply-To: <20210901095538.12813-1-zimon.toutoune@gmail.com> (zimoun's message of "Wed, 1 Sep 2021 11:55:38 +0200")
Hello!
zimoun <zimon.toutoune@gmail.com> 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’.
prev parent reply other threads:[~2021-09-07 14:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-01 9:55 [bug#50314] [PATCH 0/2] Add hint typo for importers and system actions zimoun
2021-09-01 9:57 ` [bug#50314] [PATCH 1/2] import: Add hint for importer typo zimoun
2021-09-01 9:57 ` [bug#50314] [PATCH 2/2] system: Add hint for action typo zimoun
2021-09-07 13:51 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878s085w9x.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=50314-done@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).