Re: SRFI-37 and short-name option with optional argument

2020-05-15 Thread Zelphir Kaltstahl
Hi Simon! Perhaps this will help? https://notabug.org/ZelphirKaltstahl/guile-examples/src/master/command-line-arguments Regards, Zelphir On 5/15/20 5:21 PM, zimoun wrote: > Dear Linus, > > On Tue, 12 May 2020 at 22:29, Linus Björnstam > wrote: >> I Sony have an answer to your question, but usi

Re: SRFI-37 and short-name option with optional argument

2020-05-15 Thread zimoun
Dear Linus, On Tue, 12 May 2020 at 22:29, Linus Björnstam wrote: > > I Sony have an answer to your question, but using (ice-9 getopt-long)is > usually the library guilers reach for unless they want to install third party > libraries: > https://www.gnu.org/software/guile/manual/html_node/getopt

Re: SRFI-37 and short-name option with optional argument

2020-05-12 Thread Linus Björnstam
I Sony have an answer to your question, but using (ice-9 getopt-long)is usually the library guilers reach for unless they want to install third party libraries: https://www.gnu.org/software/guile/manual/html_node/getopt_002dlong.html#getopt_002dlong -- Linus Björnstam On Tue, 12 May 2020, a

SRFI-37 and short-name option with optional argument

2020-05-12 Thread zimoun
Dear, The semantic of short-name option with optional argument is not clear as the comment says: http://git.savannah.gnu.org/cgit/guile.git/tree/module/srfi/srfi-37.scm#n58 Let consider that the option '-a, --long-a' has an optional argument and '-b, --long-b' another option. Currently, from my