diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
commit | 5bea21e81ed516440e34e480f2c33ca41aa8c597 (patch) | |
tree | 653ace1b8fe0a9916d861d35ff8f611b46c80d37 /getparam.scm | |
parent | 237c6e380aebdcbc70bd1c9ecf7d3f6effca2752 (diff) | |
download | slib-faeff9decd2d6ddbb45739837e08126a73216a09.tar.gz slib-faeff9decd2d6ddbb45739837e08126a73216a09.zip |
Import Upstream version 3a4upstream/3a4
Diffstat (limited to 'getparam.scm')
-rw-r--r-- | getparam.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/getparam.scm b/getparam.scm index da8ce04..21d7d39 100644 --- a/getparam.scm +++ b/getparam.scm @@ -104,7 +104,7 @@ (let ((str (string-copy (car alias)))) (do ((i (+ -1 (string-length str)) (+ -1 i))) ((negative? i) (cons str (cdr alias))) - (cond ((char=? #\ (string-ref str i)) + (cond ((char=? #\space (string-ref str i)) (string-set! str i #\-)))))) ((number? (car alias)) (set! positional? (car alias)) |