New upstream release.

This commit is contained in:
Anthony Carrico 2004-04-13 18:12:41 +00:00
parent 92cdee85d7
commit ef661db8ec
2 changed files with 11 additions and 16 deletions

View File

@ -1,2 +1,6 @@
version 0.4
* New package system.
* New upstream release.
* UPSTREAM: As suggested by Sven Hartrumpf, a long option with a
missing required option-argument (no "=") will not use the next
command line argument as the option-argument.

View File

@ -185,22 +185,13 @@
#f
#f
unrecognized-option-proc))))
(if (and (option-required-arg? option)
(pair? args))
(let-values
((seeds (apply (option-processor option)
option
name
(car args)
seeds)))
(scan-args (cdr args) seeds))
(let-values
((seeds (apply (option-processor option)
option
name
#f
seeds)))
(scan-args args seeds)))))
(let-values
((seeds (apply (option-processor option)
option
name
#f
seeds)))
(scan-args args seeds))))
(;; (rx bos "-" (submatch (+ any)))
(and (> (string-length arg) 1)
(char=? #\- (string-ref arg 0)))