~ chicken-core (chicken-5) fdcb7b2da8753afab1ca7d38dfb200f1dac36dbe
commit fdcb7b2da8753afab1ca7d38dfb200f1dac36dbe Author: felix <felix@call-with-current-continuation.org> AuthorDate: Fri Sep 3 07:13:07 2010 -0400 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Fri Sep 3 07:13:07 2010 -0400 -p, -P and -e imply -n in csi diff --git a/csi.scm b/csi.scm index 7c394183..c2d40c1b 100644 --- a/csi.scm +++ b/csi.scm @@ -1029,7 +1029,7 @@ EOF (keyword-style #:none) (parentheses-synonyms #f) (symbol-escape #f) ) - (unless (or (member* '("-n" "-no-init") args) script) (loadinit)) + (unless (or (member* '("-n" "-no-init") args) script eval?) (loadinit)) (when batch (set! ##sys#notices-enabled #f)) (do ([args args (cdr args)]) diff --git a/manual/Using the interpreter b/manual/Using the interpreter index 1d00f661..3050c7de 100644 --- a/manual/Using the interpreter +++ b/manual/Using the interpreter @@ -25,11 +25,11 @@ The options recognized by the interpreter are: ; -b -batch : Quit the interpreter after processing all command line options. -; -e -eval EXPRESSIONS : Evaluate {{EXPRESSIONS}}. This option implies {{-batch}} and {{-quiet}}, so no startup message will be printed and the interpreter exits after processing all {{-eval}} options and/or loading files given on the command-line. +; -e -eval EXPRESSIONS : Evaluate {{EXPRESSIONS}}. This option implies {{-batch}}, {{-no-init}} and {{-quiet}}, so no startup message will be printed and the interpreter exits after processing all {{-eval}} options and/or loading files given on the command-line. -; -p -print EXPRESSIONS : Evaluate {{EXPRESSIONS}} and print the results of each expression using {{print}}. Implies {{-batch}} and {{-quiet}}. +; -p -print EXPRESSIONS : Evaluate {{EXPRESSIONS}} and print the results of each expression using {{print}}. Implies {{-batch}}, {{-no-init}} and {{-quiet}}. -; -P -pretty-print EXPRESSIONS : Evaluate {{EXPRESSIONS}} and print the results of each expression using {{pretty-print}}. Implies {{-batch}} and {{-quiet}}. +; -P -pretty-print EXPRESSIONS : Evaluate {{EXPRESSIONS}} and print the results of each expression using {{pretty-print}}. Implies {{-batch}}, {{-no-init}} and {{-quiet}}. ; -D -feature SYMBOL : Registers {{SYMBOL}} to be a valid feature identifier for {{cond-expand}} and {{feature?}}.Trap