diff --git a/collects/compiler/start.ss b/collects/compiler/start.ss index 2324136ffb..5d34f97330 100644 --- a/collects/compiler/start.ss +++ b/collects/compiler/start.ss @@ -379,7 +379,7 @@ ("Set the maximum inlining size" "size")] [("--prim") ,(lambda (f) (compiler:option:assume-primitives #t)) - ("Assume primitive bindings at top-level")] + ("Assume primitive bindings at top level")] [("--stupid") ,(lambda (f) (compiler:option:stupid #t)) ("Compile despite obvious non-syntactic errors")] diff --git a/collects/mzlib/cmdline.ss b/collects/mzlib/cmdline.ss index 11f893d49c..52386d07cd 100644 --- a/collects/mzlib/cmdline.ss +++ b/collects/mzlib/cmdline.ss @@ -181,7 +181,7 @@ [(program arguments table finish finish-help help) (parse-command-line program arguments table finish finish-help help (lambda (flag) - (raise-user-error (string->symbol program) "unknown flag: ~s" flag)))] + (raise-user-error (string->symbol program) "unknown switch: ~s" flag)))] [(program arguments0 table finish finish-help help unknown-flag) (define arguments (if (vector? arguments0) (vector->list arguments0) arguments0)) (unless (string? program) @@ -310,9 +310,9 @@ (list #f (list "--help" "-h") (lambda (f) (let* ([sp (open-output-string)]) - (fprintf sp "~a [ ... ]" program) + (fprintf sp "~a [