New command-line syntax.
This commit is contained in:
parent
08d365ff6a
commit
70e5079239
3 changed files with 21 additions and 13 deletions
|
@ -198,8 +198,8 @@
|
|||
|
||||
;; Gets command-line arguments after the "--" of csi (not useful when
|
||||
;; compiled)
|
||||
(define (get-command-line-arguments)
|
||||
(let* ((args (argv))
|
||||
(define (get-command-line-arguments . explicit-argv)
|
||||
(let* ((args (if (null? explicit-argv) (argv) explicit-argv))
|
||||
(rargs (member "--" args)))
|
||||
(if rargs
|
||||
(cdr rargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue