[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: getopt, getopt_long?
From: |
Ivan Raikov |
Subject: |
Re: [Chicken-users] Re: getopt, getopt_long? |
Date: |
Wed, 09 Jul 2008 13:09:01 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
That appears to be a bug in srfi-37 or args, thanks for catching
it. I will look at fixing it later today. Other than that, what
doesn't seem very satisfactory?
-Ivan
William Xu <address@hidden> writes:
>
> Hmm, i tried both srfi-37 and args, both don't seem very satisfactory.
> For example, in the following code, "file" option requires an arg, but
> when I run as it "./foo -f", it can't detect the missing required arg at
> all...
>
> (define opts
> `(
> ,(args:make-option (v) #:none "set verbose mode"
> (set! opt_v #t))
> ,(args:make-option (h help) #:none "Print help"
> (usage))
>
> ,(args:make-option (f file) #:required "filename, required"
> (print "Did it detect missing required arg and shout?"))
>
> ))
- [Chicken-users] getopt, getopt_long?, William Xu, 2008/07/08
- Re: [Chicken-users] getopt, getopt_long?, minh thu, 2008/07/08
- Re: [Chicken-users] getopt, getopt_long?, Ivan Raikov, 2008/07/08
- [Chicken-users] Re: getopt, getopt_long?, William Xu, 2008/07/08
- Re: [Chicken-users] Re: getopt, getopt_long?,
Ivan Raikov <=
- [Chicken-users] Re: getopt, getopt_long?, William Xu, 2008/07/09
- Re: [Chicken-users] Re: getopt, getopt_long?, Ivan Raikov, 2008/07/09
- [Chicken-users] Re: getopt, getopt_long?, William Xu, 2008/07/09
- Re: [Chicken-users] Re: getopt, getopt_long?, Ivan Raikov, 2008/07/09
- [Chicken-users] Re: getopt, getopt_long?, William Xu, 2008/07/10
- Re: [Chicken-users] Re: getopt, getopt_long?, Ivan Raikov, 2008/07/10
- [Chicken-users] Re: getopt, getopt_long?, William Xu, 2008/07/10
- Re: [Chicken-users] Re: getopt, getopt_long?, felix winkelmann, 2008/07/10
- Chicken-setup redesign (was: Re: [Chicken-users] Re: getopt, getopt_long?), Peter Bex, 2008/07/10
- Re: Chicken-setup redesign (was: Re: [Chicken-users] Re: getopt, getopt_long?), felix winkelmann, 2008/07/10