From bd70478f110d9a00f87db52f5cd50ec2ed42858e Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 6 Feb 2007 05:14:34 +0000 Subject: [PATCH] add new command-line arguments: -p, -P, -Q svn: r5557 original commit: 2007843ba4adc1b0a3cf6c53a22f3ae69b1049b9 --- collects/mzlib/cmdline.ss | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/collects/mzlib/cmdline.ss b/collects/mzlib/cmdline.ss index 11f893d..52386d0 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 [