New upstream release.
This commit is contained in:
parent
92cdee85d7
commit
ef661db8ec
|
@ -1,2 +1,6 @@
|
||||||
version 0.4
|
version 0.4
|
||||||
* New package system.
|
* 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.
|
||||||
|
|
|
@ -185,22 +185,13 @@
|
||||||
#f
|
#f
|
||||||
#f
|
#f
|
||||||
unrecognized-option-proc))))
|
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
|
(let-values
|
||||||
((seeds (apply (option-processor option)
|
((seeds (apply (option-processor option)
|
||||||
option
|
option
|
||||||
name
|
name
|
||||||
#f
|
#f
|
||||||
seeds)))
|
seeds)))
|
||||||
(scan-args args seeds)))))
|
(scan-args args seeds))))
|
||||||
(;; (rx bos "-" (submatch (+ any)))
|
(;; (rx bos "-" (submatch (+ any)))
|
||||||
(and (> (string-length arg) 1)
|
(and (> (string-length arg) 1)
|
||||||
(char=? #\- (string-ref arg 0)))
|
(char=? #\- (string-ref arg 0)))
|
||||||
|
|
Loading…
Reference in New Issue