The Lambda Lab
/
projects
/
scratchy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce8cd3
)
Replaced (argv) with (command-line-arguments).
author
Tim Vaughan
<plugd@thelambdalab.xyz>
Thu, 2 Jul 2020 09:05:15 +0000
(11:05 +0200)
committer
Tim Vaughan
<plugd@thelambdalab.xyz>
Thu, 2 Jul 2020 09:05:15 +0000
(11:05 +0200)
scratchy.scm
patch
|
blob
|
history
diff --git
a/scratchy.scm
b/scratchy.scm
index
409047d
..
4258eee
100644
(file)
--- a/
scratchy.scm
+++ b/
scratchy.scm
@@
-350,9
+350,9
@@
(define (main)
(let* ((progname (pathname-file (car (argv))))
(config (make-config '() '() 70 #t '() '() '() '())))
- (if (null? (c
dr (argv)
))
+ (if (null? (c
ommand-line-arguments
))
(print-usage progname)
- (let loop ((args (c
dr (argv)
)))
+ (let loop ((args (c
ommand-line-arguments
)))
(let ((this-arg (car args))
(rest-args (cdr args)))
(if (string-prefix? "-" this-arg)