[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50314: [PATCH 0/2] Add hint typo for importers and system actions
From: |
Ludovic Courtès |
Subject: |
bug#50314: [PATCH 0/2] Add hint typo for importers and system actions |
Date: |
Tue, 07 Sep 2021 15:51:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
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’.