guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile -s is it necessary?


From: Neil Jerram
Subject: Re: guile -s is it necessary?
Date: 16 Oct 2002 20:27:59 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Paul" == Paul Jarc <address@hidden> writes:

    Paul> Rob Browning <address@hidden> wrote:
    >> What about things like:
    >> 
    >> guile -s foo.scm arg-to-foo another-arg-to-foo
    >> 
    >> or
    >> 
    >> guile -e main -s foo.scm arg-to-foo another-arg-to-foo

    Paul> guile foo.scm arg-to-foo another-arg-to-foo
    Paul> guile -e main foo.scm arg-to-foo another-arg-to-foo

Indeed.  Guile's current behaviour is to stop parsing args itself when
it sees `-s sthg', so that the remaining args are left for the
script.  We could easily make it do the same when it sees `sthg' where
sthg is not a known option.

    Paul> Such command lines are erroneous now, [...]

Why do you say they are erroneous?  They look fine to me.

        Neil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]