X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=scratchy.git;a=blobdiff_plain;f=scratchy.scm;fp=scratchy.scm;h=4258eee634839dadeb495a5c5b6de1d46eb697c5;hp=409047d0caeec3ffa143a3b69bfba8616475f202;hb=ae35109dd6c2a686dafea77cf2f648fe85b1fafd;hpb=dce8cd3ffeabbc4e2bf54d3228d03726f4d20e3a diff --git a/scratchy.scm b/scratchy.scm index 409047d..4258eee 100644 --- 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? (cdr (argv))) + (if (null? (command-line-arguments)) (print-usage progname) - (let loop ((args (cdr (argv)))) + (let loop ((args (command-line-arguments))) (let ((this-arg (car args)) (rest-args (cdr args))) (if (string-prefix? "-" this-arg)