The Lambda Lab
/
projects
/
rags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7fdd07
)
Replace (argv) with (command-line-arguments).
author
Tim Vaughan
<plugd@thelambdalab.xyz>
Thu, 2 Jul 2020 09:02:44 +0000
(11:02 +0200)
committer
Tim Vaughan
<plugd@thelambdalab.xyz>
Thu, 2 Jul 2020 09:02:44 +0000
(11:02 +0200)
rags.scm
patch
|
blob
|
history
diff --git
a/rags.scm
b/rags.scm
index
b60a121
..
ef4726f
100644
(file)
--- a/
rags.scm
+++ b/
rags.scm
@@
-235,9
+235,9
@@
(define (main)
(let* ((progname (pathname-file (car (argv))))
(config (make-config #f #f 1965 #f #f #f #f)))
- (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)