unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* option hint for all commands?
       [not found]         ` <CAJ3okZ00p5ADTJUGAwS4dX7SedTURazV+RX_zcgpAmu3XYwn5g@mail.gmail.com>
@ 2021-02-24 23:47           ` zimoun
  2021-03-01 14:07             ` Hartmut Goebel
  0 siblings, 1 reply; 2+ messages in thread
From: zimoun @ 2021-02-24 23:47 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix Devel

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=/tmp/ hello
        guix build: error: load-pth=/tmp/: unrecognized option
        hint: Did you mean `load-path'?

        $ guix show --load-pth=/tmp/ hello
        guix show: error: load-pth=/tmp/: unrecognized option


Other said, all the commands using ’parse-command-line’ enjoy the typo
hinter and all the commands using ’args-parse*’ don’t.  I am proposing
to use ’parse-command-line’ for all the commands .  Any objection?

In [2]–with the correction passing ’#:build-options? #f’–there is an
example for “guix show” and “guix search”.


(using patch#46308 [3] i.e., commit e68ae7f)

1: <http://issues.guix.gnu.org/issue/45893>
2: <http://issues.guix.gnu.org/issue/45893#4>
3: <http://issues.guix.gnu.org/issue/46308>


All the best,
simon


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: option hint for all commands?
  2021-02-24 23:47           ` option hint for all commands? zimoun
@ 2021-03-01 14:07             ` Hartmut Goebel
  0 siblings, 0 replies; 2+ messages in thread
From: Hartmut Goebel @ 2021-03-01 14:07 UTC (permalink / raw)
  To: guix-devel

Am 25.02.21 um 00:47 schrieb zimoun:
> Other said, all the commands using ’parse-command-line’ enjoy the typo
> hinter and all the commands using ’args-parse*’ don’t.  I am proposing
> to use ’parse-command-line’ for all the commands .  Any objection?

+1

-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software 
Development

Goebel Consult, Landshut
http://www.goebel-consult.de <http://www.goebel-consult.de>

Blog: https://www.goe-con.de/blog/alternative-android-betriebssystem 
<https://www.goe-con.de/blog/alternative-android-betriebssystem>
Kolumne: 
https://www.goe-con.de/hartmut-goebel/cissp-gefluester/2011-09-kommerz-uber-recht-fdp-die-gefaellt-mir-partei 
<https://www.goe-con.de/hartmut-goebel/cissp-gefluester/2011-09-kommerz-uber-recht-fdp-die-gefaellt-mir-partei> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-01 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210115163732.53665-1-zimon.toutoune@gmail.com>
     [not found] ` <20210119212810.20681-1-zimon.toutoune@gmail.com>
     [not found]   ` <87ft2nxumw.fsf_-_@gnu.org>
     [not found]     ` <86lfcficb7.fsf@gmail.com>
     [not found]       ` <877dnpbdas.fsf_-_@gnu.org>
     [not found]         ` <CAJ3okZ00p5ADTJUGAwS4dX7SedTURazV+RX_zcgpAmu3XYwn5g@mail.gmail.com>
2021-02-24 23:47           ` option hint for all commands? zimoun
2021-03-01 14:07             ` Hartmut Goebel

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).