Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
03081eeb
by Raymond Toy at 2025-02-17T01:52:03+00:00
-
ee669070
by Raymond Toy at 2025-02-17T01:52:04+00:00
1 changed file:
Changes:
... | ... | @@ -190,17 +190,17 @@ |
190 | 190 | (demons *command-switch-demons*))
|
191 | 191 | (flet ((invoke-demon (switch)
|
192 | 192 | (let* ((name (cmd-switch-name switch))
|
193 | - (demon (cdr (assoc name demons :test #'string-equal))))
|
|
193 | + (demon (cdr (assoc name demons :test #'string=))))
|
|
194 | 194 | (cond (demon (funcall demon switch))
|
195 | - ((or (member name *legal-cmd-line-switches* :test #'string-equal :key #'car)
|
|
195 | + ((or (member name *legal-cmd-line-switches* :test #'string= :key #'car)
|
|
196 | 196 | (not *complain-about-illegal-switches*)))
|
197 | 197 | (t (warn (intl:gettext "~S is an illegal switch") switch)))
|
198 | 198 | (lisp::finish-standard-output-streams))))
|
199 | 199 | ;; We want to process -help (or --help) first, if it's given.
|
200 | 200 | ;; Since we're asking for help, we don't want to process any of
|
201 | 201 | ;; the other switches.
|
202 | - (let ((maybe-help (or (find "help" switches :key #'cmd-switch-name :test #'string-equal)
|
|
203 | - (find "-help" switches :key #'cmd-switch-name :test #'string-equal))))
|
|
202 | + (let ((maybe-help (or (find "help" switches :key #'cmd-switch-name :test #'string=)
|
|
203 | + (find "-help" switches :key #'cmd-switch-name :test #'string=))))
|
|
204 | 204 | (if maybe-help
|
205 | 205 | (invoke-demon maybe-help)
|
206 | 206 | (dolist (switch switches t)
|