Fixed argv so that (argv 0) works.
This commit is contained in:
parent
b24c0182c8
commit
21ac090065
|
@ -622,7 +622,7 @@
|
||||||
(arg* arglist n)))
|
(arg* arglist n)))
|
||||||
|
|
||||||
(define (argv n . maybe-default)
|
(define (argv n . maybe-default)
|
||||||
(apply arg (cdr %command-line) n maybe-default))
|
(apply arg %command-line (+ n 1) maybe-default))
|
||||||
|
|
||||||
(define (command-line) (append %command-line '()))
|
(define (command-line) (append %command-line '()))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue